public interface ProducerSessionFactory extends ComponentLifecycle
JmsProducerImpl
instances.Modifier and Type | Method and Description |
---|---|
ProducerSession |
createProducerSession(JmsProducerImpl conn,
AdaptrisMessage msg)
Create or reuse an existing session.
|
close, init, start, stop
ProducerSession createProducerSession(JmsProducerImpl conn, AdaptrisMessage msg) throws javax.jms.JMSException
conn
- the JmsProducerImpl
instancemsg
- the message that the producer is currently handling.ProducerSession
javax.jms.JMSException
- if there was a problem creating the session.