public class MJmsSink extends MSink
m_registry
Constructor and Description |
---|
MJmsSink(MComponentRegistry registry,
java.lang.String name,
java.lang.String sessionName,
java.lang.String destinationName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDestinationName() |
MJmsSession |
getJmsSession() |
void |
setDestinationName(java.lang.String destinationName) |
java.lang.String |
toString() |
void |
write(java.lang.String msg,
boolean flush)
Writes the specified data to this
MSink . |
void |
write(java.lang.String msg,
MTree tree,
boolean flush)
Write the specified data to this sink.
|
closeSink, flushSink, write, write, write, write
activate, deactivate, getComponentRegistry, getName, getStatus, isActivated, remove
public MJmsSink(MComponentRegistry registry, java.lang.String name, java.lang.String sessionName, java.lang.String destinationName) throws MException
MException
public void write(java.lang.String msg, boolean flush)
MSink
MSink
.
This method writes the specified string message to this sink
and flushes all data if flushNow
is true
.
public void write(java.lang.String msg, MTree tree, boolean flush)
MSink
This method adds a prefix to the data sent out.
public java.lang.String getDestinationName()
public void setDestinationName(java.lang.String destinationName) throws MException
MException
public MJmsSession getJmsSession()