Posted: Tue Aug 02, 2016 6:52 am Post subject: JMS Using pre-defined queue for durable subscriber
Knight
Joined: 25 Aug 2006 Posts: 589
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.
Joined: 09 May 2013 Posts: 1959 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
Get your IBM MQ training here! MQGem Software
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