Keith
This is what I've been trying:
<sequence name="sendJMSKoList">
<send>
<endpoint>
<address
uri="jms:/cn=testQueue?transport.jms.ConnectionFactory=cn=outgoingQueueFactory&transport.jms.DestinationType=queue"/>
</endpoint>
</send>
</sequence>
Why do you have
..transport.jms.ConnectionFactory=cn=outgoingQueueFactory... ? i.e. why
=cn=..?
In axis2.xml, this is what the jmssender looks like:
<parameter name="outgoingQueueFactory">
<parameter
name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</parameter>
<parameter
name="java.naming.provider.url">ldap://servicelayer-dev:389/o=imq</parameter>
<parameter
name="transport.jms.ConnectionFactoryJNDIName">cn=marklogicXCF</parameter>
</parameter>
This is the error I get:
ERROR JMSOutTransportInfo Cannot locate destination : cn=testQueue using
jms:/cn=testQueue?transport.jms.ConnectionFactory=cn=outgoingQueueFactory&transport.jms.DestinationType=queue
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource
Have you placed the JAR containing LdapCtxFactory (and any of its
dependencies) into the lib directory?
Please share the full synapse.xml, axis2.xml and the log files
cheers
asankha
--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
http://esbmagic.blogspot.com