|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Sending msgs to SonicMQ without jumping through JNDI |
« View previous topic :: View next topic » |
Author |
Message
|
billybong |
Posted: Fri Mar 18, 2011 7:51 am Post subject: Sending msgs to SonicMQ without jumping through JNDI |
|
|
 Disciple
Joined: 22 Jul 2005 Posts: 150 Location: Stockholm, Sweden
|
Hi guys,
I have an asynchronous request/reply scenario including SonicMQ which is driving me crazy.
One feature I'm implementing is bridging from i.e. SonicMQ (JMSInput node) to WMQ, and then back again. This is done asynchronously so I have to store the replyto address and correlate messages back to the originating Sonic client. Think EIP "Smart proxy" pattern and you get my idea.
Request flow:
JMSInput -> MessageStore -> Mediation -> MQOutput
Response flow:
MQInput -> Mediation -> Restore from MessageStore -> JMSOutput
Now, the problem is that the replyTo field in inbound jms requests are populated with the physical destination (no JNDI name) which gets stored in my messagestore. When the asynchronous response flow receives the message and tries to route to consumer I only have this physical destination to go by.
I tried to put this into a JMS destinationlist, but the logic for the JMSOutput node seems to think that unless I specify a JNDI name (jndi://consumerReplyDest) I'm asking to send to a temporary producer.
According to "http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac25870_.htm" you should have the option to address the physical destination rather than the JNDI name, but my problem is that I dont know the syntax of SonicMQ URI's.
For MQ this is easy as MQ JMS has a format of queue://MYQMGR/MYQUEUE , but does anyone know how Sonic queues are defined? Or is there a way to fetch the JNDI name in my request flow to store that instead of the physical queuename?
Best regards,
Billy _________________ IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Mar 18, 2011 10:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Well, my first reflex is to say should be the same, this is the uri format for a queue. On better reflection, you need to check with the SonicMQ documentation to look what kind of URI format they use.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|