public class MetadataRecipient extends Recipient
In the adapter configuration file this class is aliased as oracleaq-metadata-recipient which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
MetadataRecipient() |
MetadataRecipient(java.lang.String nameKey,
java.lang.String addrKey,
java.lang.String protocolKey) |
Modifier and Type | Method and Description |
---|---|
oracle.jms.AQjmsAgent |
create(AdaptrisMessage msg)
Create an AQjmsAgent class from a associated AdaptrisMessage object
|
java.lang.String |
getAddressMetadataKey()
The metadata key that will provide the address.
|
java.lang.String |
getNameMetadataKey()
The metadata key that provides the name.
|
java.lang.String |
getProtocolMetadataKey()
The metadata key that provides the protocol.
|
void |
setAddressMetadataKey(java.lang.String s)
The metadata key that will provide the address.
|
void |
setNameMetadataKey(java.lang.String s)
The metadata key that provides the name.
|
void |
setProtocolMetadataKey(java.lang.String s)
The metadata key that provides the protocol.
|
consideredNull
public MetadataRecipient()
public MetadataRecipient(java.lang.String nameKey, java.lang.String addrKey, java.lang.String protocolKey)
public oracle.jms.AQjmsAgent create(AdaptrisMessage msg) throws CoreException
Recipient
create
in class Recipient
msg
- the AdapatrisMessage object.CoreException
- wrapping any underlying exceptionRecipient.create(com.adaptris.core.AdaptrisMessage)
public java.lang.String getNameMetadataKey()
public void setNameMetadataKey(java.lang.String s)
s
- the nameMetadataKey to setpublic java.lang.String getAddressMetadataKey()
public void setAddressMetadataKey(java.lang.String s)
s
- the addressMetadataKey to setpublic java.lang.String getProtocolMetadataKey()
public void setProtocolMetadataKey(java.lang.String s)
s
- the protocolMetadataKey to set