public class MAmxDataEvent extends MDataEvent
m_data, m_marshaller, m_replySender, m_subscriber
Constructor and Description |
---|
MAmxDataEvent(MSubscriberEventSource m_source,
MTree data,
MPublisher m_replySender,
java.lang.String amxExchangeId,
MAmxSender amxSender) |
Modifier and Type | Method and Description |
---|---|
void |
confirm()
Confirm that an event has been consumed.
|
java.lang.String |
getDestinationName()
Returns the destination name for this event.
|
MTree |
getReply() |
void |
sendReply(MTree data)
Sends reply back to the publisher
|
boolean |
shouldReply() |
getCorrelationId, getData, getGUID, getJmsCorrelationId, getJmsMessageId, getJmsPriority, getMessageId, getReplyDestinationName, getReplySender, getSender, getSenderCMName, getSequenceNumber, getSubject
public MAmxDataEvent(MSubscriberEventSource m_source, MTree data, MPublisher m_replySender, java.lang.String amxExchangeId, MAmxSender amxSender)
public void confirm() throws MException
MDataEvent
confirm
in class MDataEvent
MException
public java.lang.String getDestinationName() throws MException
MDataEvent
getDestinationName
in class MDataEvent
MException
public void sendReply(MTree data) throws MException
MDataEvent
sendReply
in class MDataEvent
data
- The MTree
to be sent to the publisherMException
public boolean shouldReply()
public MTree getReply() throws MException
MException