-
1. Re: JMS JNDI Names in jboss-as-7.1.0.Alpha1-SNAPSHOT
jaikiran Aug 24, 2011 12:13 AM (in response to simas_ch)What does the queue configuration look like?
-
2. Re: JMS JNDI Names in jboss-as-7.1.0.Alpha1-SNAPSHOT
simas_ch Aug 24, 2011 3:09 AM (in response to jaikiran)The queue is defined as follow:
<jms-destinations>
<jms-queue name="bestellqueue">
<entry name="queue/bestellqueue"/>
</jms-queue>
</jms-destinations> -
3. Re: JMS JNDI Names in jboss-as-7.1.0.Alpha1-SNAPSHOT
jaikiran Aug 24, 2011 3:18 AM (in response to simas_ch)During the last week before AS 7.0.1 was released, we decided that any relative JNDI names (i.e. without any explicit namespace) would be bound of java:/. This applied to JMS bindings too. So in your case, the queue/besstellqueue jndi name translates to java:/queue/bestellqueue. You can either change the MDB to use this (new) jndi name or you can change your queue configuration to explicitly specify the (previous) namespace:
<entry name="java:jboss/jms/queue/bestellqueue/>
-
4. Re: JMS JNDI Names in jboss-as-7.1.0.Alpha1-SNAPSHOT
simas_ch Aug 24, 2011 3:32 AM (in response to jaikiran)Thanks for your help. Now everything works as excpected.