ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Sending msgs to SonicMQ without jumping through JNDI

Post new topic  Reply to topic
 Sending msgs to SonicMQ without jumping through JNDI « View previous topic :: View next topic » 
Author Message
billybong
PostPosted: Fri Mar 18, 2011 7:51 am    Post subject: Sending msgs to SonicMQ without jumping through JNDI Reply with quote

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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Fri Mar 18, 2011 10:38 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Sending msgs to SonicMQ without jumping through JNDI
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.