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 » IBM MQ Java / JMS » MQTopic options in JMS

Post new topic  Reply to topic
 MQTopic options in JMS « View previous topic :: View next topic » 
Author Message
yalmasri
PostPosted: Tue Oct 23, 2012 12:44 am    Post subject: MQTopic options in JMS Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 23, 2012 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
yalmasri
PostPosted: Wed Oct 24, 2012 1:49 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 24, 2012 10:35 am    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » MQTopic options in JMS
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.