Author |
Message
|
sam |
Posted: Wed May 29, 2002 9:55 am Post subject: Permanent Dynamic Queues using JMS |
|
|
Acolyte
Joined: 02 Apr 2002 Posts: 52
|
Is it possible to create permanent dynamic queues using JMS? I know temporary queues can be created using Session.createTemporaryQueue(), is there an option in JMS to create Permanent Queues like this? Thanks. |
|
Back to top |
|
 |
mrlinux |
Posted: Wed May 29, 2002 10:03 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You can create perm. dynamic queues by creating a Queue model with
the of deftype(PERMDYN) and then open the queue model this will create a perm. dynamic queue. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
sam |
Posted: Wed May 29, 2002 10:49 am Post subject: |
|
|
Acolyte
Joined: 02 Apr 2002 Posts: 52
|
Thanks. But how do you do it programatically? I know that you can define a Model Queue and thru MQBase Java create a permanent Dynamic Queue. Howz this possible thru JMS? Is there a function like createPermanentQueue? in the Session? I don't think we have anything like that in the Session object right? Thank You. |
|
Back to top |
|
 |
mrlinux |
Posted: Wed May 29, 2002 10:57 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well Iam no java expert, We are doing it here with JMS, I have created a model queue and they have created a JMS Queue name for it. I will ask
more detailed questions
They being our Java group. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
kolban |
Posted: Wed May 29, 2002 7:02 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
We need to be careful, just because something is doable in MQ, doesn't mean that the same capability should be used in JMS. JMS is not a union nor an intersection of all the capabilities of all the different MOM systems available. If it isn't in the JMS spec, you really should be careful when using something that is vendor proprietary. You may lose portability and one of the primary reasons for using JMS in the first place. |
|
Back to top |
|
 |
|