We are using jms outbound channel adapter to send messages coming to one channel. For that we are accessing connection factory and queue using jndi template. Both config are using cache=true in their config.
But what we have noticed is that, for every message it sends, a new connection is being created instead of using from cache.
I believe behind the scene this outbound channel adapter uses "JmsSendingMessageHandler " which internally use jms template to send the message.
Can someone throw some light on how can we cache weblogic jms connection?