Doesn't anyone know how to configure this?

Btw, found out that there's a bug with JNDI defined destinations in v3.0
that causes a nullpointerexception. It's fixed in the trunk, but if you run
into the that problem with v3.0 you now know...


Anders Hammar wrote:
> 
> For my JMS SU I'd like to look up the (queue) destination from JNDI, but I
> can't figure out how to define this in my jndi.xml file. Does anyone know?
> 
> This is my xbean.xml for the JMS SU:
> 
>     <jms:endpoint service="abc:MyConsumerService"
>                   endpoint="jms"
>                   targetService="abc:MyTargetService"
>                   role="consumer" 
>                   jndiDestinationName="java:comp/env/jms/MyDestination"
>                   jndiConnectionFactoryName="java:comp/env/jms/MyCF"
>                   defaultMep="http://www.w3.org/2004/08/wsdl/in-only"; />
> 
> I'm using the SpringInitialContextFactory. I've got the connection factory
> configured and working, but can't find any examples of a destination from
> JNDI.
> 
> Thanks,
> /Anders
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-define-queue-topic-destination-in-JNDI-tf2423077.html#a6849055
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to