weblogic12c - spring integration jms-outbound-channel-adapter not caching weblogic jms connection -


we using jms outbound channel adapter send messages coming 1 channel. accessing connection factory , queue using jndi template. both config using cache=true in config.

but have noticed that, every message sends, new connection being created instead of using cache.

i believe behind scene outbound channel adapter uses "jmssendingmessagehandler " internally use jms template send message.

can throw light on how can cache weblogic jms connection?

accessing connection factory , queue using jndi template

caching in context means caching connection factory object, not connection(s).

as long not using jta transactions, can wrap cf obtain jndi cachingconnectionfactory. jta, app server might need new connection each tx , need configure caching in app server (if available).


Comments

Popular posts from this blog

r - how do you merge two data frames the best way? -

How to debug "expected android.widget.TextView but found java.lang.string" in Android? -

php - mySQL problems with this code? -