public abstract class AdaptrisMessageProducerImp extends AdaptrisMessageWorkerImp implements AdaptrisMessageProducer
Implementation of behaviour common to AdaptrisMessageProducer
s.
log
Constructor and Description |
---|
AdaptrisMessageProducerImp() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createName()
Create a name for any
MleMarker that is generated. |
abstract java.lang.String |
endpoint(AdaptrisMessage msg)
Return the endpoint that will be derived from the message.
|
createQualifier, decode, encode, getEncoder, getIsTrackingEndpoint, getMessageFactory, getUniqueId, handleConnectionException, isTrackingEndpoint, registerConnection, registerEncoderMessageFactory, retrieveConnection, setEncoder, setIsTrackingEndpoint, setMessageFactory, setUniqueId, withMessageFactory, withUniqueID
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
request, request, request, request
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
getUniqueId
close, init, start, stop
prepare
createQualifier, isTrackingEndpoint
produce, produce
public java.lang.String createName()
MessageEventGenerator
MleMarker
that is generated.
The default implementation is to return the classname of the component in question.
* @return the name for anyMleMarker
that is generated.createName
in interface MessageEventGenerator
createName
in class AdaptrisMessageWorkerImp
public abstract java.lang.String endpoint(AdaptrisMessage msg) throws ProduceException
The purpose of this method is to mitigate the number of changes that need to happen because
ProduceDestination
is being deprecated; boilerplate code can still be present in the
parent super-classes w/o impacting concrete sub-classes "too much".