org.exolab.jmscts.core
Class BasicMessagePopulator
java.lang.Object
|
+--org.exolab.jmscts.core.AbstractMessagePopulator
|
+--org.exolab.jmscts.core.BasicMessagePopulator
- All Implemented Interfaces:
- MessagePopulator, java.io.Serializable
- public class BasicMessagePopulator
- extends AbstractMessagePopulator
A basic message populator that populates message bodies with 'Hello World!'.
- Version:
- $Revision: 1.3 $ $Date: 2004/01/31 13:44:24 $
- Author:
- Tim Anderson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicMessagePopulator
public BasicMessagePopulator()
populateMessage
public void populateMessage(javax.jms.Message message)
throws java.lang.Exception
- Populates a Message. This is a no-op
- Overrides:
populateMessage
in class AbstractMessagePopulator
- Parameters:
message
- the message to populate- Throws:
java.lang.Exception
- for any error
populateBytesMessage
public void populateBytesMessage(javax.jms.BytesMessage message)
throws java.lang.Exception
- Populates a BytesMessage.
- Overrides:
populateBytesMessage
in class AbstractMessagePopulator
- Parameters:
message
- the message to populate- Throws:
java.lang.Exception
- for any error
populateMapMessage
public void populateMapMessage(javax.jms.MapMessage message)
throws java.lang.Exception
- Populates a MapMessage.
- Overrides:
populateMapMessage
in class AbstractMessagePopulator
- Parameters:
message
- the message to populate- Throws:
java.lang.Exception
- for any error
populateObjectMessage
public void populateObjectMessage(javax.jms.ObjectMessage message)
throws java.lang.Exception
- Populates an ObjectMessage.
- Overrides:
populateObjectMessage
in class AbstractMessagePopulator
- Parameters:
message
- the message to populate- Throws:
java.lang.Exception
- for any error
populateStreamMessage
public void populateStreamMessage(javax.jms.StreamMessage message)
throws java.lang.Exception
- Populates a StreamMessage.
- Overrides:
populateStreamMessage
in class AbstractMessagePopulator
- Parameters:
message
- the message to populate- Throws:
java.lang.Exception
- for any error
populateTextMessage
public void populateTextMessage(javax.jms.TextMessage message)
throws java.lang.Exception
- Populates a TextMessage.
- Overrides:
populateTextMessage
in class AbstractMessagePopulator
- Parameters:
message
- the message to populate- Throws:
java.lang.Exception
- for any error
Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.