|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Remove ?targetClient=1 from JMSReplyTo: queue:///qname |
« View previous topic :: View next topic » |
Author |
Message
|
prangige_wps |
Posted: Tue Feb 07, 2012 2:41 pm Post subject: Remove ?targetClient=1 from JMSReplyTo: queue:///qname |
|
|
Newbie
Joined: 07 Feb 2012 Posts: 2
|
Dear Forum,
I am using Business Process Manager 7.5.1.0 with WAS 7.0.0.19. I have a JMS/MQ import configured to use JNDI.
When I send a sync request to JMS/MQ queue, the JMS message has JMSReplyTo: queue:///qname?targetClient=1.
This message is consumed by an MDB. The MDB replies to this request using JMSReplyTo queue destination. But, because of
?targetClient=1, the MDB fails indicating an invalid queue name.
I also know that the documentation says that this value can be dropped from the JMSReplyTo value configuring the Connection Factory object.
I found following extract from IBM documentation.
"To prevent the ?targetClient=1 value from appearing at the end of the JMSReplyTo field, the connection factory object used by the JMS application should have the TARGCLIENTMATCHING property set to NO"
I tried to set this property with value "NO" on WAS admin console connection factory following the navigation below.
Resources -> JMS -> Connection Factories -> Custom Properties of Connection Factory -> and adding a new custom property with
T ARGCLIENTMATCHING setting its value to NO. I cannot still avoid the
?targetClient=1 value from the JMSReplyTo attribute of the JMS message.
Please let me know how I could avoid this value from the WAS admin console, Connection Factory object.
Thank you
Prangige |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 07, 2012 9:20 pm Post subject: Re: Remove ?targetClient=1 from JMSReplyTo: queue:///qname |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
prangige_wps wrote: |
Dear Forum,
I am using Business Process Manager 7.5.1.0 with WAS 7.0.0.19. I have a JMS/MQ import configured to use JNDI.
When I send a sync request to JMS/MQ queue, the JMS message has JMSReplyTo: queue:///qname?targetClient=1.
This message is consumed by an MDB. The MDB replies to this request using JMSReplyTo queue destination. But, because of
?targetClient=1, the MDB fails indicating an invalid queue name.
|
Where did you find that this is the reason why you would not get an invalid qname?
As I interpret it the queue is not valid on the destination qmgr.
However there exists a default path to the reply to qmgr and as such the message is can be routed in the qmgr the MDB is attached to. It will go to the DLQ in the destination qmgr... Standard behavior...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
prangige_wps |
Posted: Wed Feb 08, 2012 10:36 am Post subject: Re: Remove ?targetClient=1 from JMSReplyTo: queue:///qname |
|
|
Newbie
Joined: 07 Feb 2012 Posts: 2
|
This issue has been resolved!
Thanks |
|
Back to top |
|
 |
zpat |
Posted: Wed Feb 08, 2012 11:56 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Please share the resolution with the rest of the world |
|
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
|
|
|
|