Class 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).