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#a6755380
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to