Class JmsMatsJmsSessionHandler_Simple

java.lang.Object
io.mats3.impl.jms.JmsMatsJmsSessionHandler_Simple
All Implemented Interfaces:
JmsMatsJmsSessionHandler, JmsMatsStatics

public class JmsMatsJmsSessionHandler_Simple extends Object implements JmsMatsJmsSessionHandler, JmsMatsStatics
A dead simple implementation of JmsMatsJmsSessionHandler which does nothing of pooling nor connection sharing. For StageProcessors (endpoints), this actually is one of the interesting options: Each StageProcessor has its own Connection with a sole Session. But for Initiators, it is pretty bad: Each initiation constructs one Connection (with a sole Session), and then closes the whole thing down after the initiation is done (message(s) is sent).