org.logicblaze.lingo.jms.impl
Class JmsProducerImpl
java.lang.Object
org.logicblaze.lingo.jms.impl.JmsProducerImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.DisposableBean, JmsProducer
- Direct Known Subclasses:
- DefaultJmsProducer
- public class JmsProducerImpl
- extends Object
- implements JmsProducer, org.springframework.beans.factory.DisposableBean
An implementation of the JmsProducer
which is designed to work in
message driven POJO type scenarios where the session and producer can be deduced
from the current consumption thread & the session can be reused from the consumer.
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsProducerImpl
public JmsProducerImpl(Session session)
throws JMSException
JmsProducerImpl
public JmsProducerImpl(Session session,
MessageProducer producer)
getSession
public Session getSession()
- Specified by:
getSession
in interface JmsProducer
getMessageProducer
public MessageProducer getMessageProducer()
- Specified by:
getMessageProducer
in interface JmsProducer
close
public void close()
throws JMSException
- Specified by:
close
in interface JmsProducer
- Throws:
JMSException
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.