public interface ProduceDestination
Implementations of this interface return a String
destination
(e.g. queue name, URL) to be used by AdaptrisMessageProducer
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDestination(AdaptrisMessage msg)
Returns a
String destination name. |
java.lang.String getDestination(AdaptrisMessage msg) throws CoreException
Returns a String
destination name. Implementations may or may not use the AdaptrisMessage
to
dynamically generate the name.
msg
- the AdaptrisMessage
for which the name is being generatedCoreException
- wrapping any underlying Exception