-
1. Re: mdb-subscription-id?
adrian.brock Dec 9, 2003 10:59 AM (in response to liuhf)It is the name of the subscription name.
A durable subscription has two parts.
The client id (set on the connection or configured on the user)
and a subscription name specified on createDurableSubscriber.
Regards,
Adrian -
2. Re: mdb-subscription-id?
liuhf Dec 9, 2003 8:14 PM (in response to liuhf)THANKS Adrian.
but which value should i assign to mdb-subscriptionp-id?
the jbossmq-state.xml has:
testUser
testUser
idtestUser
...
idtestUser
mytestTopic
in the jboss.xml:
when i write:
<mdb-client-id>idtestUser</mdb-client-id>
i catch exception:
the connection has already a clientID.
when i write :
<mdb-subscription-id>idtestUser</mdb-subscription-id>
i catch exception:
connection not authorized to do durable subscription on topic:mytestTopic.
i have no way now.i browse the forums every day.not find the answer.
help please.
liuhf -
3. Re: mdb-subscription-id?
adrian.brock Dec 9, 2003 8:25 PM (in response to liuhf)idtestUser is used by mdb-subscription-id
Your durable subscription config is broken...
needle <!-- client id -->
myDurableSub <!-- subscription name/id -->
TestTopic
Regards,
Adrian
Regards,
Adrian -
4. Re: mdb-subscription-id?
liuhf Dec 9, 2003 9:13 PM (in response to liuhf)thanks Adrian.
can i write use this:
idtestUser
idtestUsermytestTopic
or this:
idtestUsermytestTopic
i mean wheather i can use either of above or i can use the first one only.
liuhf. -
5. Re: mdb-subscription-id?
adrian.brock Dec 10, 2003 4:30 AM (in response to liuhf)Only the first means anything.
A durable subscription is keyed by client id and name.
Regards,
Adrian