com.hack23.cia.service.component.agent.impl.common
Class ProducerMessageFactory

Package class diagram package ProducerMessageFactory
java.lang.Object
  extended by 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.


Constructor Summary
ProducerMessageFactory(Serializable message)
          Instantiates a new producer message factory.
 
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
 

Constructor Detail

ProducerMessageFactory

public ProducerMessageFactory(Serializable message)
Instantiates a new producer message factory.

Parameters:
message - the message
Method Detail

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.