|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQTopic options in JMS |
« View previous topic :: View next topic » |
Author |
Message
|
yalmasri |
Posted: Tue Oct 23, 2012 12:44 am Post subject: MQTopic options in JMS |
|
|
Centurion
Joined: 18 Jun 2008 Posts: 110
|
I want to prevent publications created on a given connection to go to subscriptions on the same connection. I looked around and I found the option MQSO_NOT_OWN_PUBS, which will be supplied upon MQTopic creation. The problem is that I'm using pure JMS, and I can't seem to find the corresponding setting either on destination created using the JMSAdmin tool or through properties. Is that achievable through pure JMS? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Oct 23, 2012 5:25 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What have you looked at in the infocenter. I thought there were a few settings you could use on the subscription.... In case of doubt do the subscription with RFHUtil and read the message and check it's properties... etc...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
yalmasri |
Posted: Wed Oct 24, 2012 1:49 am Post subject: |
|
|
Centurion
Joined: 18 Jun 2008 Posts: 110
|
Yes, there is something on the subscription level you can do like this:
Code: |
((MQMessageConsumer) consumer).setBooleanProperty(JmsConstants.NOLOCAL, true); |
But this is not really JMS. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 24, 2012 10:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
yalmasri wrote: |
Yes, there is something on the subscription level you can do like this:
Code: |
((MQMessageConsumer) consumer).setBooleanProperty(JmsConstants.NOLOCAL, true); |
But this is not really JMS. |
You're no looking where you should.
Check at the creation of your subscriber... It is a method called on the TopicSession... and it so is JMS!!
Have fun  _________________ 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
|
|
|
|