org.exolab.jmscts.core
Class SequenceMessagePopulator
java.lang.Object
|
+--org.exolab.jmscts.core.AbstractMessagePopulator
|
+--org.exolab.jmscts.core.SequenceMessagePopulator
- All Implemented Interfaces:
- MessagePopulator, java.io.Serializable
- public class SequenceMessagePopulator
- extends AbstractMessagePopulator
A message populator that populates the body of messages with a sequence
number. The sequence is incremented with each invocation, starting at 1.
- Version:
- $Revision: 1.2 $ $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 |
SequenceMessagePopulator
public SequenceMessagePopulator()
- Construct a new
SequenceMessagePopulator
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.