public class SimpleRecipientList extends java.lang.Object implements RecipientList
This is primarily designed to be a wrapper around many Recipient
instances.
Recipient
In the adapter configuration file this class is aliased as oracleaq-simple-recipient-list which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
SimpleRecipientList() |
Modifier and Type | Method and Description |
---|---|
void |
addRecipient(Recipient ora)
Add a recipient
|
java.util.List<oracle.jms.AQjmsAgent> |
asAgentList(AdaptrisMessage msg)
Create an AQjmsAgent list from the AdaptrisMessage.
|
java.util.List<Recipient> |
getRecipients() |
void |
setRecipients(java.util.List<Recipient> l) |
public java.util.List<Recipient> getRecipients()
public void setRecipients(java.util.List<Recipient> l)
l
- the recipients to setpublic void addRecipient(Recipient ora)
ora
- public java.util.List<oracle.jms.AQjmsAgent> asAgentList(AdaptrisMessage msg) throws CoreException
RecipientList
asAgentList
in interface RecipientList
msg
- the adaptrisMessageCoreException
- wrapping any underlying exceptionRecipientList.asAgentList(com.adaptris.core.AdaptrisMessage)