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 » durable subscriber on WAS 6.0 using MQ 6 BROKER:IMPOSSIBLE?

Post new topic  Reply to topic
 durable subscriber on WAS 6.0 using MQ 6 BROKER:IMPOSSIBLE? « View previous topic :: View next topic » 
Author Message
In_love_with_MQ
PostPosted: Mon Mar 20, 2006 2:48 am    Post subject: durable subscriber on WAS 6.0 using MQ 6 BROKER:IMPOSSIBLE? Reply with quote

Acolyte

Joined: 10 Jul 2005
Posts: 70

Hi,


I need to create durable subscribers via jms on WAS 6.0 and my broker is MQ 6.0 .

As per j2ee specification setclientID cannot be used in ejb or web containers .

But without that i cant create D subscriber .

How can a jms running on WAS 6 then create durable subscriptions ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 20, 2006 8:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Have you tried looking at the properties of the Topic in WAS?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
In_love_with_MQ
PostPosted: Thu Mar 23, 2006 2:18 am    Post subject: Hi Reply with quote

Acolyte

Joined: 10 Jul 2005
Posts: 70

Hi ,

As soon as i make a topic to durable in WAS and start, i get the error , jmsillegalstate exception ..

And even in my code if i try to make them durable , ie using createdurablesubsciption () method the same error message flashes .

As per JMS specifications these methods cant be used in EJB OR WEB containers ...

Then How to create a DURABLE subscriber?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Mar 23, 2006 4:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

As a durable subscriber did you provide a queue to host your subscription?
If you did what prevents you from placing a standard MDB on the queue?

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Mar 23, 2006 6:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You do not need a durable subscriber.

You might want one - but you almost certainly don't need it.

What are you actually trying to accomplish? We can help you with that, rather than tell you the same thing that the spec says - which is that if the spec says you can't do it then you can't do it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
In_love_with_MQ
PostPosted: Thu Mar 23, 2006 7:05 am    Post subject: Hi Reply with quote

Acolyte

Joined: 10 Jul 2005
Posts: 70

Hi ,

My requirement

Apllication publishes and the message reaches the subscribed queues .

The message should be staying in the queues even if the application which gets the messages is inactive (durable) .

As of now it is non- durable wherein we have the subscribing app listening to the queue (mdb) + listener .
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 23, 2006 7:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Under what conditions is the subscriber not available?

Under what conditions is the publisher available when the subscriber isn't?

That is, if you're running both the publisher and the subscriber in the same container - how is it ever possible for the publisher to be available when the subscriber isn't?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » durable subscriber on WAS 6.0 using MQ 6 BROKER:IMPOSSIBLE?
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.