com.hack23.cia.service.component.agent.impl.common
Class ProducerMessageFactory
java.lang.Object
com.hack23.cia.service.component.agent.impl.common.ProducerMessageFactory
- All Implemented Interfaces:
- org.springframework.jms.core.MessageCreator
public class ProducerMessageFactory
- extends Object
- implements org.springframework.jms.core.MessageCreator
A factory for creating ProducerMessage objects.
Method Summary |
javax.jms.Message |
createMessage(javax.jms.Session session)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProducerMessageFactory
public ProducerMessageFactory(Serializable message)
- Instantiates a new producer message factory.
- Parameters:
message
- the message
createMessage
public javax.jms.Message createMessage(javax.jms.Session session)
throws javax.jms.JMSException
- Specified by:
createMessage
in interface org.springframework.jms.core.MessageCreator
- Throws:
javax.jms.JMSException
Copyright © 2008-2011 www.hack23.com. All Rights Reserved.