|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.util.MessageCopier
CopyTransformer instead
public class MessageCopier
A thread-safe copier for NormalizedMessage onjects.
| Constructor Summary | |
|---|---|
MessageCopier()
Deprecated. Creates a new message copier instance that creates full (deep) message copies. |
|
MessageCopier(boolean copySubject,
boolean copyContent,
boolean copyProperties,
boolean copyAttachments)
Deprecated. Create a new message copier instance. |
|
| Method Summary | |
|---|---|
javax.jbi.messaging.NormalizedMessage |
copy(javax.jbi.messaging.NormalizedMessage message)
Deprecated. Copies messages under consideration of the copySubject,
copyContent, copyProperties,
copyAttachments properties. |
boolean |
isCopyAttachments()
Deprecated. |
boolean |
isCopyContent()
Deprecated. |
boolean |
isCopyProperties()
Deprecated. |
boolean |
isCopySubject()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageCopier()
public MessageCopier(boolean copySubject,
boolean copyContent,
boolean copyProperties,
boolean copyAttachments)
copySubject - true if subject shall be copied.copyContent - true if content shall be copiedcopyProperties - true if properties shall be copiedcopyAttachments - true if attachments shall be copied| Method Detail |
|---|
public javax.jbi.messaging.NormalizedMessage copy(javax.jbi.messaging.NormalizedMessage message)
throws javax.jbi.messaging.MessagingException
copySubject,
copyContent, copyProperties,
copyAttachments properties.
message - original message.
javax.jbi.messaging.MessagingException - if a system-level exception occurs.public boolean isCopyAttachments()
public boolean isCopyContent()
public boolean isCopyProperties()
public boolean isCopySubject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||