JMS Correlation ID
Hi all,
Is it possible to get JMS message Header details like Correlation ID, when the message is delivered to a Channel via a JMS event Generator?
Cheers,
Jugal
Jugal,
when you define the channel, you define a second paramter besides qualifiedMessageType, which contains the metadata:
qualifiedMetadataType="eg:JmsEventGenerator"
The JMS event generator metadata is defined in EventGeneratorMetaData.xsd, which comes with a WLI System schema project:
It contains the following elements:
</xs:element>
<xs:element name="JMSCorrelationID" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSDeliveryMode" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSDestination" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSExpiration" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSMessageID" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSPriority" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSRedelivered" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSReplyTo" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSTimestamp" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="JMSType" type="xs:string" minOccurs="1" maxOccurs="1"/>
You can see, that the correlation id is part of that.
-Kai
Similar Messages
-
JMS Correlation ID in JMS Receiver Adapter
Hi ,
I am working in PI7.1 on IDOC to JMS interface,
I want set IDOC number as Correlation ID in JMS queue ,
I did following Correlation steps ,
1. Set JMSCorrelation ID to PI Conversation ID
2. Checked JMS CorrelationID of request
3.Value to PI Conversation ID
In Adavanced Tab
Checked Use Adapter specific Message attributes
Checked Fial if Adapter specific Message attributes missing
Checked JMS Message Correlation ID
Additional Parameter
DCJMSCorreleationID String
I have created user defined function , Not using BPM , i don't have correlation ID in target field data type
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS", "DCJMSCorreleationID");
return conf.put(key, idoc_number);
I tested UDF with mapping to target field, UDF is working .
But in JMS Correlation ID value is null
I am getting error in Communication Channel monitor if ticked check box of fail If adapter-specific message attributes
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Dynamic header records are missing/incorrect specified in message: 000c2901-fc48-1def-82f9-4b126dff2151. Erroneous/Unspecified headers are: DCJMSCorreleationID
1/27/10 11:02:36 PM 000c2901-fc48-1def-82f9-4b126dff2151 Dynamic record/records: DCJMSCorreleationID, that correspond to the JMS property/properties: JMSCorrelationID, respectively is/are either missing from the message: 000c2901-fc48-1def-82f9-4b126dff2151, or have invalid types specified in the channel configurationHi Swetha ,
Thanks for your response ,
I created user defined function with one parameter , no input parmeter .
My root node of IDOC as Structure type ,
In UDF , i have not mapped the IDOC number
public String CorrelationID(String messageId, Container container) throws StreamTransformationException{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS", "DCJMSCorreleationID");
return conf.put(key, messageId);
messageId I need map in additonal parameter .
Thanks ,
Laxman.
DCJMSCorreleationID messageId -
Problem with JMS Correlation i Async/Sync bridge
This is my scenario:
Im receiving a request message from the JMS-adapter and forward this via a async/sync bridge to CRM. Im using a synchronous proxy in CRM. I want to send the response from this proxy back to MQ via the JMS adapter and put my original JMS Message ID in the JMS Correlation ID in the response message.
Ive read about how to configure this in the pdf-document How to Correlate JMS messages.
I did as suggested and that is as follows.
1. In my receiver channel I set the Correlation Setting Set XI Conversation ID To=JMSMessageID.
2. In my integration process (async/sync-bridge) I set the Conversation ID in my async send step to the Conversation ID of my request message.
3. In my sender channel I set the Correlation Setting Set JMSCorrelationID To=XI Conversation ID.
When I test my scenario I get the following error:
New JMS message cannot be correlated with the XI message although it is configured. Unable to set because correlation value is null. Correlation rule: XI_CONVERSATIONID, correlated property: JMSCorrelationID
I thought that my Conversation ID should carry the value of my initial JMS Message ID. I know that this is not null.
Can somebody please help me?
Kind regards.
/HeléHi Wallace,
I tried to set the Conversation ID to the Correlation ID instead but I still get the same error.
The sending application needs to correlate the request message with the corresponding response and since we are using MQ this is the way to do it.
regards.
/Helé -
OSB : How to use JMS Correlation ID to associate Reqeust with the Response
Hi,
I am using a business service to publish request on the queue. Now I want to use the same Business Service to send back me the response based on the JMS Correlation ID. Right no I am just trying to get the response without applying any logic to the JMS Correlation ID but its not working. Can any body let me know how to do this.
Regards,
Anuj MaheshwariUse response by Correlation ID pattern as specified in this link:
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/MsgIDPatternforJMS.html#wp1050154 -
Hello
I actually stole some of the text of this question from a previous post. The post hasn't had any activity for over a month, so I thought I would repost as I need a solution. I have modified it to my situation.
I need to implement following scenario in my BPEL process:
1. BPEL enqueues using JMS Adapter message to queue 1. (Invoke activity)
2. BPEL dequeues using JMS Adapter message from queue 2. (Receive activity)
I need to correlate this two actions. How do I do this? I have tried the following with no success.
1. BPEL produces messages on queue 1 with JMS corr_id header variable set
2. Program dequeuing from queue 1 stores corr_id value in database.
3. Program finishes processing work and produces message on queue 2 specifying corr_id from value stored in database.
4. BPEL consumes message from queue 2. Here it is not working. The correlation does not seem to be happening.
Any ideas?
Thanks
KirkI think you need to define the correlation/correlation sets in BPEL Invoke and receive activities. The correlation identifier can very well be the JMS corr_id field value. I think what you tried is JMS message correlation as opposed to correlation in BPEL processes.
I haven't tried this myself. So my suggestion is purely conceptual.
HTH
Rajesh -
JMS Correlation ID problem in Oracle 11g
Hi All,
I have created a BPEL for producing message into JMS with correlation ID="SABARI". In my receiving bpel (my second bpel )i also checked 'CreateInstance' in Receive activity, which will finally write the received message into a file.
I have deployed both the bpels. However I dint find any instance created rather no file is written. Kindly find my JCA files as below.
ProduceJMS.jca
<adapter-config name="Produce" adapter="JMS Adapter" wsdlLocation="Produce.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/wls/Topic" UIJmsProvider="WLSJMS" UIConnectionName="localConn"/>
<endpoint-interaction portType="Produce_Message_ptt" operation="Produce_Message">
<interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
<property name="TimeToLive" value="0"/>
<property name="PayloadType" value="TextMessage"/>
<property name="DeliveryMode" value="Persistent"/>
<property name="DestinationName" value="sabari_topic"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
ReceiveJMS.jca
<adapter-config name="ReceiveJMS" adapter="JMS Adapter" wsdlLocation="ReceiveJMS.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/wls/Topic" UIJmsProvider="WLSJMS" UIConnectionName="localConn"/>
<endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
<activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
<property name="PayloadType" value="TextMessage"/>
<property name="MessageSelector" value="JMSCorrelationID="SABARI""/>
<property name="UseMessageListener" value="false"/>
<property name="DestinationName" value="sabari_topic"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
Kindly help in resolving this issue.
Thanks,
Sabarisri. NCan you check the logs ? any pointers there ?
-
JMS message id as JMS correlation ?
I read this document: "How to Correlate JMS Messages"
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
My scenario is AP1 -> XI -> SAP -> XI -> AP1, because AP1 sends lots of messages at the same time, so I need to use correlation. Current plan is we want to use JMS message id. But this document only describe to use the "XI message id", not "JMS message id".
I found in sender communication channel configuration, I can use JMS message id as the XI message id. But because I have a mapping before the BPM, it means the message received by BPM is not the message received by XI.
(detail scenario is AP1 -> XI -> mapping to another message -> BPM -> AP1.)I got it, I can set the conversation id to the context object "ConversationID" of "http://sap.com/xi/XI/System", it's ok.
-
JMS Correlation ID not converting to EBCDIC Hexa
We are using the PI 7.1 system on a AIX platform.
We use the JMS adapter to send messages to a MQ Queue manager on a AS400platform.
WebSphereMQ transport protocol is in JMS adapter.
We are generating custom dynamic correlation id using a UDF.
Expectation is to receive the correlation id in Ebcdic format because the
receiving end is a AS400 system.
But what I receive there is a Ascii Hexa.
For a example we are sending the correlation id as 0180000012. (ASCII)
What MQ receive is 30313830303030303132 (ASCII HEX)
Where what MQ should receive is F0F1F8F0F0F0F0F0F1F2 (EBCDIC HEX)
I need help to find out why JMS adapter is converting the correlation id
in to ASCII HEX without converting to EBCDIC HEX.
Appreciate a lot if any one can provide some help on this.
Thanks a lot,
Tania.I am not sure if I have understand the issue correctly.
Do you create an ASCII string and the ASCII characters are not converted into EBCDIC,
or do you create a HEX String?
Or does the JMS adapter converts your ASCII string to Hex?
I have the impression that the behaviour is a design gap, which nobody has noticed before.
A work around could be in converting the ASCII to EBCDIC inside the UDF,
Report this to SAP -
Add a JMS correlation id manually before posting it to a queue using OSB
Hi All,
Background:
A proxy services (HTTP) recieves a raw xml message. This is routed to a business service , which will post to a JMS queue on weblogic.
Requirement :
We need to add specific data from body as correlation id to the JMS message that will be posted to the queue.
I know this may sound weird but the application which is consuming the message from JMS queue wont work without this correlation id.
Please let me know if somebody have some idea to implement this through OSB.
Thanks in advance :)
Edited by: Harry1234 on 2013-03-12 04:40
Edited by: Harry1234 on 2013-03-12 04:42Hi Harry,
Inside your route, add a Transport Header action.
Direction=Outbound Request
Click on "Add Header".
Select Defined=jms, and select CorrelationID
Then set the expression
Regards,
Fabio Douek -
Correlation issue in JMS adapter - SYNC/ASYNC scenario without BPM
Hi,
I am working on a SYNC/ASYNC scenario with JMS adapter without using BPM. My scenario is SOAP<>PI>JMS. I configured the interface as below:
1. SOAP Sender channel
2. JMS Receiver Channel writing to Queue A.
Module used: a. RequestOneWayBean
b. WaitResponseBean
Correlation Settings:
a. Set JMS Correlation ID to "XI Message ID"
b. Store JMS CorrelationID of request (Checked)
c. Set JMS Property to "JMS Correlation Id"
d. Value = "XI MEssage ID"
3. JMS Sender channel reading from queue B ( I am exporting the message from queue A and importing into queue B)
Module used: a. NotifyResponseBean
Correlation Settings:
a. Set XI MEssage Id to "GUID"
b. Set XI Conversation ID to "Stored JMS COrrelationID of Request"
I can see the cid in the message from queue A. But I observed thhat the header format of the message in Queue A is "MQSTR".
ISSUE:
1. While writing the message to queue A, below adapter log details(part b) concerned me:
a. Message '8747a7c2-2b06-11df-8055-005056a70ed6' successfully processed by channel
b. Could not create acknowledgements for message '8747a7c2-2b06-11df-8055-005056a70ed6'
I am not sure why I am receiving the message that " could not create acknowledgements"
2. While reading the message from the sender channel,I consistently get the error message as below:
a. XI message ID corresponding to JMS message with ID 'ID:414d51205341504449442e514d202020c67b954b20005602'
will be created as a new GUID with value '21bca916-424f-41f6-3347-c71090392b58'
b. Error while processing message '21bca916-424f-41f6-3347-c71090392b58'; detailed error description:
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
Below are the blogs which I have already gone through:
1. JMS Synchronous Scenario without BPM - Correlation Settings and Transactional JMS Session
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b028f6f6-7da5-2a10-19bd-cf322cf5ae7b
2. Note: 1086303
3. Sync / Async Bridge without BPM
In the note, they mentioned something about header being "MQRFH2". BUt in our case, the header is "MSSTR". Not sure whether it makes any difference.
Please help.
Edited by: GP on Mar 9, 2010 4:24 AMHi,
detailed error description:
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
This error would generally arose when there are multiple messages, got stuck in the outbound queue. Try to stop both the sender and receiver JMS comunication channels and clear both the inbound and outbound queues.
Once all the messages in the queue are cleraed, try posting the message again.
Regards,
Swetha. -
Jms settings and correlation settings in jms adapter
hi expects,
what is use of jms settings and correlation settings in jms adapter.Hi Rohit,
have a look at thsi article to understand jms correlation:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
Regards,
michal -
Exception in OSM 7.0 when XSLT Automator received message from JMS
Hi
I have been prototyping on OSM 7.0 on Linux. I have a simple project, with two "Automated tasks" and some manual tasks.
The first Automated task is using a XSLT Sender, and sends a message to a JSM queue "A".
The second Automated task is using a XSLT Automator to listen for a JMS message received from an external system in JMS queue "B".
I have setup a JMS bridge on the WebLogic server where OMS is running, so that messages in queue "A" are forwared to queue "B".
So I am seeing messages being sent to queue A and then forwarded to queue B.
However, I keep getting exceptions when OSM is trying to process the messages received at queue B.
It complains about "ORA-20503: no current hist_seq_id found for given automation context.".
Does anybody know what this means ?
At first I thought it might be the "JMSCorrelationId" for the message which arrived at queue B which was wrong, but that does not seem to be the case, because if I sent a dummy message with a dummy JMS correlation id, then I get another exception : "ORA-20502: Automation context not found.". This exception is ok, and I understand the reason for it.
Here are som excerpts from the log file for the "no current hist_seq_id found" case :
com.mslv.oms.dataaccesslayer.ProxyException: ORA-20503: no current hist_seq_id found for given automation context.
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
ORA-06512: at line 1
Nested Exception: ORA-20503: no current hist_seq_id found for given automation context.
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
ORA-06512: at line 1
Nested Exception: java.sql.SQLException: ORA-20503: no current hist_seq_id found for given automation context.
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
ORA-06512: at line 1
at com.mslv.oms.dataaccesslayer.a.execute(Unknown Source)
at com.mslv.oms.dataaccesslayer.CallableProxy.execute(Unknown Source)
at com.mslv.oms.automation.plugin.AutomationDispatcherImpl.getClusterRequestContext(Unknown Source)
at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
Truncated. see log file for complete stacktrace
java.sql.SQLException: ORA-20503: no current hist_seq_id found for given automation context.
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
ORA-06512: at line 1
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
Truncated. see log file for complete stacktrace
<11-Feb-2010 12:32:05,954 CET PM> <ERROR> <message.ClusterMessageHandlerBean> <ExecuteThread: '12' for queue: 'oms.automation'> <Failed to process cluster request due to ClusterRequestContext = NULL>
<Feb 11, 2010 12:32:05 PM CET> <Error> <oms> <BEA-000000> <message.ClusterMessageHandlerBean: Failed to process cluster request due to ClusterRequestContext = NULL>
<Feb 11, 2010 12:32:06 PM CET> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
java.lang.RuntimeException: No transaction associated with request.
java.lang.RuntimeException: No transaction associated with request
at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
Truncated. see log file for complete stacktrace
Regards
Alf Hogemark
Edited by: user494649 on 11.feb.2010 04:26
Edited by: user494649 on 11.feb.2010 04:27Hi,
I am trying to send message using XSLT sender for an automated task from osm 6.3.1 to ASAP 7.0, and also raised a request "Unable to deploy ATM/FrameRelay plugins for OSM 6.3.1" as i am stuck with an error- Null pointer Exception. could you share how did u deploy and register the plugins for sending message on automated tasks?
i am using ant for deploying the catridge and plugins,
Also could you point me the reason for the error
Thanks in advance. -
JMS adapter: Adapter specific message attributes
Hi,
I have a synchronous SOAP to JMS (MQ series) scenario where Im using sync/async bridge (without BPM).
I need to correlate the message being put on JMS queue (JMS receiver adapter) and the response (JMS sender adapter).
The standard receiver JMS adapter only allows the JMS correlation ID to be set to one of three different values (excluding NULL). 2 of these (reference and conversation ID) will be empty in my scenario, leaving me with only the XI message ID. This ID however exceeds the length of ie. the JMS correlation ID and thus isnt suitable for correlating anything using the field JMS Correlation ID.
NB: it is of no use to try and set the conversation ID at mapping time (using container object) since the changed value only is available during mapping execution.
Surely one way of setting the conversation ID would be to use an adapter module in SOAP sender, but this is not an option. Also the sender system will not provide one either.
Now the problem isnt setting the JMS correlation ID dynamically at runtime (this is achieved without trouble using the dynamic configuration API with the key DCJMSCorreleationID). The problem is to actually have XI correlate the request with the response.
Since the JMS collelation ID is smaller than the XI message ID and the conversation and reference ID isnt available, what I figure is that I need to find a MQ message property to use and then use the Set MSProperty to part instead this property surely needs to be large enough to contain the XI message ID.
So what I did was I looked in http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqwak.doc/js50938.htm
where a list of fields in the message descriptor is available figuring I can just use one of these. Looking through the list I notice the field MDRQ (Name of reply queue, 48-byte character string) should be able to hold the XI message ID. So I add MDQR in the Specify additional JMS message properties and set the Java Type to String and also enter this field in the Correlation Setting of the receiver JMS adapter.
Runtime:
When looking in MDT I see:
New JMS message will be correlated with the XI message. Correlation rule: XI_MESSAGEID, correlated property: JMS property MDRM, correlation value: 36158680-5a0c-11dc-8c14-000f203cd3c8
I looks like a success! No data is however set in the field when looking at messages being put on MQ.
If I increase the trace level of the JMS adapter I can see (in defaultTrace) the following:
Cannot read the switch setting for property name DCJMSStringProperty0, switch name dynConfigDCJMSStringProperty0. It is switched off.
What does this error mean?
I have of course clicked Use adapter Specific Message-Attributes and also the Specify additional . In other words everything look ok in configuration.
Since Ive also put a check mark in Fail if adapter specific message attributes is missing I can see that I successfully put a value (using dynamic conf. at mapping time) in the field... but still something isnt right the value of the property never reached MQ.
Now Ive tried with a couple of fields in the message descriptor from the previous URL. XI complains all the time.
Anybody got some ideas?
Best Regards,
DanielHi Vijay,
Thanks for your replay,as per your input i creted dynamic configuration method,
i taget structure luks like this
<Data>
<Mesage>
<gl_update>
<header>
<ean1>
<ean2>
</header>
<gl_update>
<Message>
i written UDF and mapped to header element gl_update,
but i am getting below error message in MONI
SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_ ffjms_</SAP:P1>
<SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
<SAP:P3>on: Cannot create target element /ns0:MT_jms_ _a</SAP:P3>
<SAP:P4>sync_out/Data/Message/ GLUpdate. Values missi~</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_ ffjms_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_jms_ asyncout/Data/Message/ GLUpdate. Values missi~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
i want to know i mapped to UDF to GL_Update is is correct, to which element i have to map.
i think there is no prob with UDF,its executing ,giving warning messages
help me on this,
Regaards
Raj -
Sync/Async communication in JMS adapter without BPM
Hi,
as of SP19 XI's JMS adapter offers this new feature for Sync/Async communication through JMS Adapter modules instead of using a BPE.
Now I would be interested to know if anybody has already successfully used this feature especially using WebSphere MQ as a JMS Provider (preferredly in the mode JMS Compliant: WebSphere MQ (non-JMS)).
I experienced some issues with the XI Message ID being used as the JMS Correlation ID which is then mapped to the MQ Correlation ID being truncated after 24 characters. So I don't exactly know whether this is due to wrong setup or some general issues with this messaging system.
Please let me know if you have any experiences at all with this new feature (please do not just post links to the following blogs, which I have thoroughly studied as well as the How-to Guide concerning this topic)
/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
/people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
thanks & regards,
PeterHi Peter,
we working on the same Problem. Using IBM Websphere MQ as JMS Provider for the new feature: sync/async bridge without BPE.
we switched on a high level trace for the adapter framework and saw a problem in the receiving Object of the JMS correlation id. The notify bean receives the JMS correlationid in hex format. so the beans have two different correlations, which could not find together.
did you have any solution to get this new feature works with IBM Websphere ?
thanks
joachim -
Content Based Correlation in Oracle 11g
Dear Veterans!!!
I am working on the following use-case.
An order processor accepts order(Mode-Buy/Sell, Price, Quantity) on webservice from various customers, and presents them to DecisionService, after adding the order Id to it. The decision service would check if the price*quantity > 1000, if so the response is sent as (Order ID, OrderStatus="Fail") else, sends (Order ID, OrderStatus="Success").
What I want to do?
Now I need to create Order Processor using single JMS Adapter with Interaction type "Asynchronous Request/Reply" using content based.
What I have been able to do?
I have been able to do content-based Correlation between Decision Service BPEL and Order Processor BPEL, where Order Processor has two JMS Adapters, One Producer which enqueues the order for Decision Service, setting the orderId as correlation. The another JMS Adapter is set as Consumer and recieve activity is registered with it and picks up the response after correlating the message.
Also I have been able to do the "native correlation" scenario, using Decision Service as mediation module.
What is the problem?
1. I need to have the decision service as BPEL, and be able to do the native correlation, which I wonder how to do, because the Jdeveloper 11g has removed support for Adapter Header variables.
2. I need to use decision service as BPEL and be able to do the content-based correlation, using a single Asyncronous Request/Reply JMS Adapter instead of two (Producer and consumer).
Any Pointers shall be useful.
Many Thanks,
Regards,
SwapSawe.
I am aware of how to set the correlation
http://swapnil-soa.blogspot.com/2008/01/correlation-this-post-would-effort-to.html
And how to do it in Oracle 11g
http://biemond.blogspot.com/2009/10/jms-request-reply-interaction-pattern.html
Edited by: SwapSawe on Nov 30, 2009 11:01 PMDear Friends,
If I was not able to make my point clear, I would explain it again. I am posting message from one BPEL process to an Asynchronous Request/Reply JMS Adapter.
A consumer JMS Adapter, would read the message from Q and would initiate another BPEL process, which would perform some business logic to generate a response and post it to reply queue via JMS Producer.
Now the reply posted, is picked up by the Async Request/Reply, but the receive activity is unable to correlate the message.
I was able to do this scenario using native correlation, i.e. JMS Message Id mapped to JMS Correlation Id, through mediation module. But I am looking forward to do this using content based correlation.
Regards,
SwapSawe
Maybe you are looking for
-
Missing 'Chart View' in visual composer
Netweaver Visual Composer Client Version 701.5.0027 Model>Package>Page>Iview Compose Model> _Chart View_ missing from components. I have created this graphic chart in QA (data sourced from BI query) but need to create in dev to follow correct migra
-
We are going to implement IC Webclient and our Agents will each have 2 logins - one for incoming Emails and one for incoming phone calls since SAP with Genesys routing does not allow for two open interactions at the same time. The users would like a
-
Can apple tv used to play games on tv from iphone like movies?
Can apple tv be used to play games on tv like movies are played from iphone to tv? Can facetime done from iphone to tv?
-
Computer graphics: from ASCII art to animated GIFs
Today's state-of-the-artanimated GIFshave a proud history.ASCII art Image credit: Chris.comAt the dawn of the computer age, computer graphics were crude. Computers were best at manipulating numbers and text, so developers created programs that used a
-
Error upgrading in-place virt. appliance from 7.0.0 to 7.0.1
Hi all, I deploy in my virtual environment a new virtual appliance 7.0.1 and configured it the network. When I try to upgrade in-place my production virtual appliance I set ip address of new appliance and after few minutes server respond that "New ve