I'm looking at
http://people.apache.org/~veithen/synapse/Synapse_Samples.html#Sample250
to create a jms publisher.
I have it "working" with the long uri in the address that sets all the
connection params locally in the sequence like this:
    <sequence name="sendJMSKoList">
        <send>
           <endpoint>
              <address
uri="jms:/cn=keithQueue1?transport.jms.ConnectionFactoryJNDIName=cn=marklogicXCF&amp;java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&amp;java.naming.provider.url=ldap://servicelayer-dev:389/o=imq&amp;transport.jms.DestinationType=queue"/>
              
           </endpoint>
        </send>
    </sequence>


However, after this runs for a while I start getting connection exceptions.  
It seems like this is creating a new connection every time it publishes.

Can I configure the address to point to the connection factory that I have
in the axis2.xml file?
If so, what is the syntax?  I tried "guessing" but couldn't get it to work.


Thanks

Keith
-- 
View this message in context: 
http://www.nabble.com/SNAPSHOT-JMS-publisher-tp22951348p22951348.html
Sent from the Synapse - User mailing list archive at Nabble.com.

Reply via email to