|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jmscts.core.AbstractMessagePopulator
A helper class for populating messages. This class provides no message populating functionality - that is left to sublasses.
Constructor Summary | |
AbstractMessagePopulator()
|
Method Summary | |
void |
populate(javax.jms.Message message)
Populate a message with data. |
void |
populateBytesMessage(javax.jms.BytesMessage message)
Populate a BytesMessage instance with data. |
void |
populateMapMessage(javax.jms.MapMessage message)
Populate a MapMessage instance with data. |
void |
populateMessage(javax.jms.Message message)
Populate a Message instance with data. |
void |
populateObjectMessage(javax.jms.ObjectMessage message)
Populate an ObjectMessage instance with data. |
void |
populateStreamMessage(javax.jms.StreamMessage message)
Populate a StreamMessage instance with data. |
void |
populateTextMessage(javax.jms.TextMessage message)
Populate a TextMessage instance with data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractMessagePopulator()
Method Detail |
public void populate(javax.jms.Message message) throws java.lang.Exception
populate
in interface MessagePopulator
message
- the message to populatejava.lang.Exception
- for any errorpublic void populateMessage(javax.jms.Message message) throws java.lang.Exception
message
- the message to populatejava.lang.Exception
- for any errorpublic void populateBytesMessage(javax.jms.BytesMessage message) throws java.lang.Exception
message
- the message to populatejava.lang.Exception
- for any errorpublic void populateMapMessage(javax.jms.MapMessage message) throws java.lang.Exception
message
- the message to populatejava.lang.Exception
- for any errorpublic void populateObjectMessage(javax.jms.ObjectMessage message) throws java.lang.Exception
message
- the message to populatejava.lang.Exception
- for any errorpublic void populateStreamMessage(javax.jms.StreamMessage message) throws java.lang.Exception
message
- the message to populatejava.lang.Exception
- for any errorpublic void populateTextMessage(javax.jms.TextMessage message) throws java.lang.Exception
message
- the message to populatejava.lang.Exception
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |