Content Routing in JMS?.
Hi All,
Is content based routing possible in JMS queues?.
If we have one sender JMS queue, and it posts 2 messages.. one with employee structure.. and other with bank information structure..
with 2 separate structures for separate interfaces.. can XI communication channels pick up the message and route it to the correct interface?.
If so is there something special that I need to impletement?.
Please advise.
Thanks!.
Any thoughts on this?.
Thanks.
Similar Messages
-
OWSM: problem with content routing
Hi,
I am working on OWSM and i have registerd a service on owsm and tested it through it. it works fine. But the problem is when i click on content routing it gives me this error "The following exception occurred when processing the JSP:
Could not connect to Gateway using its URL.The Gateway is not running or there was a problem establishing connection with the Gateway. Please ensure the Gateway is running before trying this operation.
Use your browsers "Back" button if you would like to try again."
i cant use the content routing option in policy management link , otherwise the service is running fine.
Thanks in advance.
Regards,
Abhi...
Message was edited by:
Abhishek saurabhHi all,
Any updates??
If case of any clues, please let me know because its urgent.
Regards,
Abhi... -
OWSM content routing issue (fs/crouter)
Hi,
I am using OWSM console to implement content routing. I am following the steps mentioned in the administrator guide for OWSM.
However, I am getting stuck at the very last step of content routing.
Replace the endpoint URL with the following URL:
http://host_name:port/gateway/fs/crouter
It is not excepting/invoking anything when I replace my wsdl url with fs/crouter.
Please help.Please reply if anyone has faced the same issue...or has resolved this issue.
salil -
CE 590 as content router?
I have a CE 590. How can I reconfigure it to function as a content router? or is this diable?
ThanksYou can configure the CE for transparent caching but would still need a router to redirect the traffic to the CE. You will not be able to configure the CE to act as a router. Couple of docs that you can refer to: http://www.cisco.com/warp/public/117/cache_engine/transparentconfig.html
http://www.cisco.com/warp/public/117/wccp/wccp2.html -
What is difference between content switching, content routing...
Hi friends,
I want to know differences between content switching, content routing...
I want to know too, if a Content Engine 566 can caching FTP, HTTPS, Video and so on....
Regards and thank you.
Raúl.A content engine can cache files transfered via ftp but not https [as the content is encrypted].
It can cache whatever file, including video, audio, ...
Content routing, content switching are just names.
They refer to how the traffic will be intercepted and forwarded to the content engine.
You could simply use a proxy solution and have your users setup their browser to use the content engine as a proxy, or you could transparently intercept http/ftp traffic via a router running wccp, or you could use a Layer7 device like a CSS to intercept the traffic and redirect to the content engine.
Regards,
Gilles. -
Config content router dns record
Does anyone know how to config the DNS record on the content router
The FQDN mapping on the Content Router (CR) is received from the CDM based on the configuration of the Websites in the CDM. When you are configuring a website on the CDM, populating the 'Request Routed FQDN' field will cause the CDM to inform the CR that it should start responding to DNS requests for that domain.
In short, there is nothing that needs to be configured directly on the CR -- all of the configuration happens on the CDM.
~Zach -
Content Conversion in JMS Adapter
Hi All,
I am having a scenario JMS - XI - JDBC.
Now I have to do the content conversion in the incming records.
The sample incoming data is as follows:-
<Field1>,<Field2>, ...,<Fieldn> -->Row1
{<Field1A>,<Field2A>, ...,<FieldnA>} -->Row2
{<Field1A>,<Field2A>, ...,<FieldnA>} -->Row3
<Field1B>,<Field2B>, ...,<FieldnB> -->Row4
{<Field1C>,<Field2C>, ...,<FieldnC>} -->Row5
{<Field1C>,<Field2C>, ...,<FieldnC>} -->Row6
{<Field1C>,<Field2C>, ...,<FieldnC>} -->Row7
Now at the target, we have 3 oracle tables, in which the data from the Row1 &4 will go to Table 1, Row2&3 --> Table2 and Row5,6 &7 --> Table3.
The source data type that i m using is of the structure:-
<TC>
<GT>
<Field1>
<GS>
<Field1A>
</GS>
<Field1B>
<Field2B>
<GDS>
<Field1C>
</GDS>
</GT>
</TC>
Please help me out in the modules configuraton, how this can be handled.
Thanks in advance, hope to receive some solution at the earliest.
Rocky.Hi Rocky,
Please have a look at these threads..
JMS Adapter: Content Conversion
JMS Adapter Content Conversion
JMS Content Converrsion
Hope these help you!
cheers,
Prashanth -
MQ Message content conversion using JMS
I want to use JMS content conversion to convert MQ messages into XML (Idoc). We currently use the R/3 link application to send data to/from MQ to SAP.
Each MQ message is one continuous stream of data with no carriage returns or line feed between the header and lines. When I set-up the JMS mapping commands, it sees the message as one string of data and does not map out the separate idoc segments. Can I use JMS file content conversion or will I need some type of JAVA mapping module to handle the mapping for each different type of Idoc segment? If it;s JAVA, could you provide an example. Thanks JimHi Jim,
Go through the following link which disscusses the JMS Content Conversion.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Amaresh -
Content conversion at JMS sender communication channel
Hi friends,
I have to convert fixed length flat structure to xml message.Therefor i have to do content conversion at the JMS sender comm channel.Can someone please explainthe procedure?
data in the queue would be like as follows.
9999000000124646q12233appej500rc11147822zordHi Manikandan,
The structure conversion can handle files containing rows with different structures. In
each row there is a key field to identify the structure. The rows with identical key fields of
course have identical structures.
Let us assume that we have a sample file with four rows. Each row has a two-byte key
field; the first row has a second field with ten bytes; the structure of the second and third
rows is the same and comprises two additional fields with three bytes each; the last row
has a second field with five bytes:
AA1234567890
BBABCABC
BBXYZXYZ
CC12345
The configuration for the conversion could look like this:
Module Configuration
Module Key Parameter Name Parameter Value
Plain2XML Transform.Class com.sap.aii.messaging.adapter.Conversion
Plain2XML Transform.ContentType text/xml;charset=utf-8
Plain2XML xml.conversionType StructPlain2XML
Plain2XML xml.processFieldNames fromConfiguration
Plain2XML xml.documentName MyDocument
Plain2XML xml.documentNamespace http://xi.com/test
Plain2XML xml.recordsetName MyRecordset
Plain2XML xml.recordsetStructure NameA,1,NameB,*,NameC,1
Plain2XML xml.keyFieldName MyKey
Plain2XML xml.keyFieldType CaseSensitiveString
Plain2XML xml.NameA.fieldNames MyKey,field-nameA
Plain2XML xml.NameA.fieldFixedLengths 2,10
Plain2XML xml.NameA.keyFieldValue AA
Plain2XML xml.NameB.fieldNames MyKey,field-nameB1,field-nameB2
Plain2XML xml.NameB.fieldFixedLengths 2,3,3
Plain2XML xml.NameB.keyFieldValue BB
Plain2XML xml.NameC.fieldNames MyKey,field-nameC
Plain2XML xml.NameC.fieldFixedLengths 2,5
Plain2XML xml.NameC.keyFieldValue CC
In xml.recordsetStructure, you add a name for each different structure followed by the
number of occurrences or an asterisk for unbounded occurrences. For each structure
name, you configure the structure separately in a separate namespace such as
xml.NameA.fieldNames and so on.
If your source file is a CSV file, replace each xml.XXX.fieldFixedLengths with
xml.XXX.fieldSeparator.
the result of this conversion looks like this:
<ns:MyDocument xmlns:ns="http://xi.com/test">
<MyRecordset>
<NameA>
<MyKey>AA</MyKey>
<field-nameA>1234567890</field-nameA>
</NameA>
<NameB>
<MyKey>BB</MyKey>
<field-nameB1>ABC</field-nameB1>
<field-nameB2>ABC</field-nameB2>
</NameB>
<NameB>
<MyKey>BB</MyKey>
<field-nameB1>XYZ</field-nameB1>
<field-nameB2>XYZ</field-nameB2>
</NameB>
<NameC>
<MyKey>CC</MyKey>
<field-nameC>12345</field-nameC>
</NameC>
</MyRecordset>
</ns:MyDocument>
Regards,
Vinod. -
File Content Conversion in JMS Adapter
Hello,
I am trying to use module parameters to convert File to XML in Sender JMS adapter. I have followed the instructions in the SAP document (3.1 Example of a Simple Conversion in a Sender Communication Channel)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
The problem I am facing is instead of creating one xml message for all the lines in the file; it is creating one message per line. Not sure what I need to do get all the lines in to one xml message.
Please let me know if any of you have faced similar issue.
Thanks
AVThe Parameter xml.recordsetsPerMessage can only be used if it is a complex structure. I mean it needs a recordSet with Keys..etc and What I am trying to do is a simple FCC using
Transform.Class=com.sap.aii.messaging.adapter.Conversion
Transform.ContentType=text/xml;charset=utf-8
xml.conversionType=SimplePlain2XML
xml.documentName=PurchaseOrder_Root
xml.documentNamespace=http://namespace
xml.fieldFixedLengths =2,10,10,3,..
xml.fieldNames = DATA1,DATA2,DATA3....
xml.processFieldNames=fromConfiguration
xml.structureTitle=PurchaseOrder
<b>I am expecting</b>
<PurchaseOrder_Root>
<PurchaseOrder>
<DATA1> </DATA1>
<DATA2> </DATA2>
</PurchaseOrder>
<PurchaseOrder>
<DATA1> </DATA1>
<DATA2> </DATA2>
</PurchaseOrder>
</PurchaseOrder_Root>
<b>When I use the above Module Config it is giving me </b>
</PurchaseOrder_Root>
<PurchaseOrder>
<DATA1> </DATA1>
<DATA2> </DATA2>
</PurchaseOrder>
</PurchaseOrder_Root>
</PurchaseOrder_Root>
<PurchaseOrder>
<DATA1> </DATA1>
<DATA2> </DATA2>
</PurchaseOrder>
</PurchaseOrder_Root> -
Content converions in JMS adapter
Hi,
I am using sender JMS adapter to convert the ; separated file coming from MQ to XI
I have the source file as
000000310; ;H;RRCVB01;20030904;143001000000512;AED;C;20030905;20030904;00186,872118;00027,224959000000512;AFA;C;20030905;20030904;00015,962790;00002,325581000000512;999;T;00167
which is not structured and I am facing problems while converting into XML.
But if i use the source file
000000310; ;H;RRCVB01;20030904;143001000000512(Header)
AED;C;20030905;20030904;00186,872118;00027,224959000000512(Detail)
999;T;00167(Trailer)
My conversion parameters works.
Can you please help me out in converting the above ?
Regards,
KumarHi,
Using conversion agent you can solve your problem
Check the below link if can be helps you
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0fa9a00-b13d-2a10-5591-96769f66df9c
Thanks & Regards,
Venkat -
Hi,
I have a File ---> SAP PI ---> JMS (SonicMQ) scenario. I have done the settings and the message is passed successfully to the SonicMQ broker.
However the end system is complaning that the received message is a text file and not a xml file.
How should I ensure that the message transferred by PI is in XML format?
Thanks,
Pankaj.Hi Raj,
Same was my understanding :(.
Other than the default adapter modules (in receiver JMS channel) I have not used anything else.
Also I see a proper XML file (which can be closed and opened as we do in IE) getting generated in SXMB_MONI and also in Communication Channel monitoring.
However still the end system is complaining that the message is seen in text
Example:
<Message><Name>Pankaj</Name><Id>123456</Id></Message>
Instead of:
<Message>
<Name>Pankaj</Name>
<Id>123456</Id>
</Message>
Thanks,
Pankaj. -
I have a SCCM 2012 SP1 CU3 "example" environment containing:
primary site in Europe (DP is not actively used)
secondary sites in Europe, US and Asia (DP's are used)
10 DP's in Europe, 10 DP's in US and 10 DP's in Asia
What I want is:
Packages are created at primary and distributed to all DP's. I want to be sure that the content of the packages first go to the DP's at the secondary sites and AFTER that being distributed from the secondaries to the DP's.
Also the DP's in Asia may only get the content from the Asia secondary site DP.
Also the DP's in Europe may only get the content from the Europe secondary site DP.
Also the DP's in US may only get the content from the US secondary site DP.
How will I ensure that this flow will be followed ?I will try to complete my case with some more information.
I have about 12000 clients. 4000 in Asia, 4000 in US and 4000 in Europe. They are managed form a primary located in Europe with lines to US and Asia. Currently all is configured and connected in SCCM 2007 and it will be migrated to SCCM 2012.
In 2012 we decide to use secondaries at the main region locations which also function as the MP for that regions (4000 clients). The MP traffic is then throttled to the primary.
Within a region we do have 10 DP's now in SCCm 2007 which are currectly shared with SCCM 2012. That works fine. But we also want to migrate those DP's to become SCCM 2012 DP's and we want te ensure that package traffic flow is minimized. So we want to send
packages from primary to secondary an dthen to the DP's.
We also do not want to reinstall the DP's since they have about 300GB of data and the lines are small. So what is the best way to go for ? migrate the DP's to SCCm 2012 DP's will assign the DP's to the primary i guess. Then we send e.g. 10 times a package
to US and that is not what we want. Could I change the DP to a Pull-DP with remaining the data on it ? Could I change the traffic flow of a DP to be change from primary to secondary ?
Hopefully you guys can clear some thing for me.... -
Content conversion in Sender JMS Adapter
Hi,
Scenario is file to IDoc
My source file is ' ; ' separated file coming from MQ via JMS adapter. now I need to convert this to XI.
Source DT looks like
Root
HEADER (Occurance 1)
Field 1
ISOCURCD
TRANKODE
IDENTIFIER
DATO
TIME
DETAIL(Occurance 1 to unbounded)
ISOCURCD
TRANKODE
EFFDATE
COMMDATE
DKKVAL1
USDVAL1
TRAILER(Occurance 1)
ISOCURCD
TRANKODE
TRANCOUNT
According to How to use content conversion in JMS guide from SDN i have configured the content conversion parameters in the module of JMS sender adapter.
In the processing sequence given the module name as localejbs/AF_Modules/MessageTransformBean and module Key as Plain2XML.
And in module configuration
Parameter Name Parameter Value
Transform.Class com.sap.aii.messaging.adapter.Conversion
Transform.ContentType text/xml;charset=utf-8
xml.keyFieldName TRANKODE
xml.keyFieldType CaseSensitiveString
xml.recordsetName Root
xml.documentName MT_ROOT
xml.documentNamespace http://XXX.XXX.XX/xi/XXXXX
xml.processFieldNames fromConfiguration
xml.conversionType StructPlain2XML
xml.recordsetStructure HEADER,1,DETAIL,*,TRAILER,1
xml.HEADER.fieldNames Field1,ISOCURCD,TRANKODE,IDENTIFIER,DATO,TIME
xml.HEADER.fieldSeparator ";"
xml.HEADER.keyFieldValue H
xml.fieldSeparator ";"(if i don't use this then the file is not being picked and getting an error in the CC monitoring of RWB saying xml.field separator missing.)
Similarily for Detail and Trailer records as well.
But when I run the scenario, the file is being picked up but I am not getting any payload into the inbound message.
Can you please help me where I have configured wrongly. And one more thing will this configuration help for ; separated file .
Thanks & Regards,
Kumar
Edited by: Kumar on Dec 19, 2007 11:11 AM
Edited by: Kumar on Dec 19, 2007 11:15 AMHI,
Have you gone through the below pdf i think it will help to find ur mistake.
How to use conversion modules in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Thnx
Chiarg -
Content conversion question for JMS adapter
Hi,
I need to put this again here.
I have the scenario R/3 IDoc -> XI -> MQ (webshpere). MQ requires plain text.
I have the IDoc ORDERS05 in multi level (nested in layers). But using the how to guid to convert the content I could go up to on level.
Based on the thread
Process Integration (PI) & SOA Middleware
It is not possible to use the conversion modules with XML2Plain key with parameter xml.conversionType value StructXML2Plain.
Please confirm if this is possible to convert a structure like below,
<ZSYSEX01>
.<IDOC BEGIN="1">
....<EDI_DC40 SEGMENT="SEGMENT0">
........<FIELD1>HEADER</FIELD1>
....</EDI_DC40>
....<E1STATS SEGMENT="SEGMENT1">
........<FIELD2>100</MANDT>
........<Z1HDSTAT SEGMENT="SEGMENT2">
...........<FIELD3>0200000716</FIELD3>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1000</FIELD4>
...........</Z1ITSTAT>
........</Z1HDSTAT>
........<Z1HDSTAT SEGMENT="SEGMENT2">
...........<FIELD3>0200000717</FIELD3>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1000</FIELD4>
...........</Z1ITSTAT>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1001</FIELD4>
...........</Z1ITSTAT>
...........<Z1ITSTAT SEGMENT="SEGMENT3">
...............<FIELD4>1002</FIELD4>
...........</Z1ITSTAT>
........</Z1HDSTAT>
....</E1STATS>
.</IDOC>
</ZSYSEX01>
to plain text in JMS adapter.
Thanks!
JasonHi,
You have to use Content Converiosn in JMS Adapter Receiver side,
Module Sequence in the Receiver Channel
No. Module Name Module Key
1 localejbs/AF_Modules/MessageTransformBean XML2Plain
2 localejbs/SAP XI JMS Adapter/ConvertMessageToBinary CallJMSService
3 localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService Exit
Bases on Structure you have to configure the processing parameters,
please see the below link, it will helps you more
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Regrads
Chilla..
Maybe you are looking for
-
Spry collapsible panel stays open in Internet Explorer.
I'm trying to use the spry collapsible panel to hide and show inormation, and it will not stay closed. I've used the default closed option in the properties panel, and made sure the eye in design view is closed. Please give some suggestions for cor
-
How do I download one app at a time in itunes or appstore
Hi there fellow apple lovers, just got my first iphone, you see I have a habbit of downloading from the app store simultaneously, is there anyway I can set my iphone 5s to download one app at a time, well in other words queing them so that if a downl
-
Lost all my contacts in Mac address book. Tried syncing my iPhone/iPad contacts to Mac via iTunes and is not working. Please help
-
I am trying to find a trial version of Oracle 8i (8.1.5.0.4) Enterprise Edition for Netware to test with Novell Zenworks for Servers 3.0. We currently use the Unix/Solaris versions of Oracle, but want to test on our NetWare servers. Can someone direc
-
How to capitalise cost center based purchases
Hi Friends , Presently we are buying all plant and machine and Building related on cost center based purchase with GL accounts . We want to capitalise these once project compleate , how to capitalise material with cost center based purchases . Raghu