public class ConfiguredDestination extends java.lang.Object implements MessageDrivenDestination
ConfiguredProduceDestination
because of the introduction of MessageDrivenDestination
to
reflect its intended usage.In the adapter configuration file this class is aliased as configured-destination which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
ConfiguredDestination() |
ConfiguredDestination(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDestination() |
java.lang.String |
getDestination(AdaptrisMessage msg)
Returns a
String destination name. |
void |
setDestination(java.lang.String s) |
public ConfiguredDestination()
public ConfiguredDestination(java.lang.String s)
public java.lang.String getDestination(AdaptrisMessage msg)
ProduceDestination
Returns a String
destination name. Implementations may or may not use the AdaptrisMessage
to
dynamically generate the name.
getDestination
in interface ProduceDestination
msg
- the AdaptrisMessage
for which the name is being generatedpublic java.lang.String getDestination()
public void setDestination(java.lang.String s)