G
GCampolo
Hi all!
I asked this question already a couple of weeks ago in the Sun forums
but got no reply...I hope that someone can help me there...
I have set up one TopicConnectionFactory and one Topic. A component
sends a JMS message to the JMS server.
Several message driven beans are listening on the same topic but they
all have a different Message Selector,
so depending on that the messages are consumed by the respective MDB.
This does work perfectly fine, but now
I want the MDBs to be durable subscribers for the topic. I thought it
would be possible to set the 'Durable
Subscription' option in deploy tool with each MDB having another
Subscription name. Additionally I added the
property (ClientId, MyID) to the TopicConnectionFactory in the JMS
settings for the AppServer. But if I have
more than one MDB an exception is thrown during deployment, if I only
deploy one MDB it does work.
So now, my question is: is it possible at all to have more than one
durable subscribers for only
TopicConnectionFactory and Topic or not? And if it would be possible
what am I doing wrong? How can
else solve my problem?
Thanks in advance
I asked this question already a couple of weeks ago in the Sun forums
but got no reply...I hope that someone can help me there...
I have set up one TopicConnectionFactory and one Topic. A component
sends a JMS message to the JMS server.
Several message driven beans are listening on the same topic but they
all have a different Message Selector,
so depending on that the messages are consumed by the respective MDB.
This does work perfectly fine, but now
I want the MDBs to be durable subscribers for the topic. I thought it
would be possible to set the 'Durable
Subscription' option in deploy tool with each MDB having another
Subscription name. Additionally I added the
property (ClientId, MyID) to the TopicConnectionFactory in the JMS
settings for the AppServer. But if I have
more than one MDB an exception is thrown during deployment, if I only
deploy one MDB it does work.
So now, my question is: is it possible at all to have more than one
durable subscribers for only
TopicConnectionFactory and Topic or not? And if it would be possible
what am I doing wrong? How can
else solve my problem?
Thanks in advance