I am attempting to create a jms consumer in my service unit in servicemix
that listens to a queue running inside of glassfish on an embedded glassfish
instance of mq.

<beans xmlns:jms="http://servicemix.apache.org/jms/1.0";  
           xmlns:jee="http://www.springframework.org/schema/jee";>
  <jee:jndi-lookup id="rpConnectionFactory"
jndi-name="jms/ResourcePeerFactory">
  </jee:jndi-lookup>

                          
        <jms:consumer service="my:ConsumerService"
              endpoint="jbi"
              destinationName="jms/ResourcePeer"
              connectionFactory="#rpConnectionFactory"
              targetEndpoint="my:ProviderService"
              targetService="my:ConsumerService"/>
</beans>

This fails one of two ways....either with an unknown namespace
"http://servicemix.apache.org/jms/1.0"; or at times it fails with unable to
find name "jms/ResourcePeerFactory"

I am using service mix 3.3

Any ideas or pointers to what I am doing wrong?
-- 
View this message in context: 
http://www.nabble.com/JMS-component-to-glassfish-queue-tp22292217p22292217.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to