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 IndexIBM MQ Java / JMSJMS Using pre-defined queue for durable subscriber

Post new topicReply to topic
JMS Using pre-defined queue for durable subscriber View previous topic :: View next topic
Author Message
KIT_INC
PostPosted: Tue Aug 02, 2016 6:52 am Post subject: JMS Using pre-defined queue for durable subscriber Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 506

I am running MQ V7.5 on linux
Using MQ as the JMS provider. When a durable subscriber to topic is created, a permanent dynamic queue us created underneath the cover to receive publications. Our MQ administrators do not like the idea of using permanent dynamic queues in general. Just wondering if there is any way to using a predefined queue instead. I know that this can be done by pre defining subscription. But we want to only create subscription by application when needed.
Back to top
View user's profile Send private message
hughson
PostPosted: Tue Aug 02, 2016 12:06 pm Post subject: Reply with quote

Yatiri

Joined: 09 May 2013
Posts: 639
Location: Bay of Plenty, New Zealand

If you use a managed subscription (Subscription option MQSO_MANAGED) then a dynamic queue (temporary or permanent depending on the durability of the subscription is used).

If you use a non-managed subscription then you can tell the queue manager to use any queue you want; by name on the DEGINE SUB command, or by passing a HObj to that queue using the MQ API.

JMS only has the ability to use a managed subscription through its API although I believe there is an RFE you can vote on to ask for that to be enhanced?

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMSJMS Using pre-defined queue for durable subscriber
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.