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
Post a Comment