Hi,

the JmsTemplate creates a new session for each message to send, according to
its source[1].
So in the broker log you can find the lines relative the session creating
and the message sending for each of the 5 messages sent by
`sender.sendmessages`.

[1]
https://github.com/spring-projects/spring-framework/blob/v5.1.7.RELEASE/spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java#L495

Regards,
Domenico



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to