| |
|
| java.lang.Object org.apache.openejb.jee.MessageDestinationRef
MessageDestinationRef | public class MessageDestinationRef implements JndiReference(Code) | | The message-destination-ref element contains a declaration
of Deployment Component's reference to a message destination
associated with a resource in Deployment Component's
environment. It consists of:
- an optional description
- the message destination reference name
- an optional message destination type
- an optional specification as to whether
the destination is used for
consuming or producing messages, or both.
if not specified, "both" is assumed.
- an optional link to the message destination
- optional injection targets
The message destination type must be supplied unless an
injection target is specified, in which case the type
of the target is used. If both are specified, the type
must be assignment compatible with the type of the injection
target.
Examples:
jms/StockQueue
javax.jms.Queue
Consumes
CorporateStocks
|
messageDestinationLink | protected String messageDestinationLink(Code) | | |
messageDestinationRefName | protected String messageDestinationRefName(Code) | | |
messageDestinationType | protected String messageDestinationType(Code) | | |
getMessageDestinationLink | public String getMessageDestinationLink()(Code) | | The Assembler sets the value to reflect the flow of messages
between producers and consumers in the application.
The value must be the message-destination-name of a message
destination in the same Deployment File or in another
Deployment File in the same Java EE application unit.
Alternatively, the value may be composed of a path name
specifying a Deployment File containing the referenced
message destination with the message-destination-name of the
destination appended and separated from the path name by
"#". The path name is relative to the Deployment File
containing Deployment Component that is referencing the
message destination. This allows multiple message
destinations with the same name to be uniquely identified.
|
getMessageDestinationRefName | public String getMessageDestinationRefName()(Code) | | |
getMessageDestinationType | public String getMessageDestinationType()(Code) | | |
setMessageDestinationLink | public void setMessageDestinationLink(String value)(Code) | | |
setMessageDestinationRefName | public void setMessageDestinationRefName(String value)(Code) | | |
setMessageDestinationType | public void setMessageDestinationType(String value)(Code) | | |
|
|
|