|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmsVendorConfiguration
Abstracts all the Jms Vendor specific configuration for the Jms integration test suite.
An implementation of this class must be created for each Jms Vendor that gets tested.
The integration tests use a fixed set of destination names since some Jms vendors require
that all destinations are configured beforehand. The queue configurations that must be
made available are:
- 'in' Queue
- 'middle' Queue
- 'middle2' Queue
- 'middle3' Queue
- 'out' Queue
- 'broadcast' Topic
Also, there will need to be a QueueConnectionFactory
, TopicConnectionFactory
,
XAQueueConnectionFactory
and XATopicConnectionFactory
available. These will be
used to create JMS Connection
objects using the getConnection(boolean, boolean)
method of
this class.
Note that this class defines a single method for getMiddleDestinationName()
but the AbstractJmsFunctionalTestCase
will made available 'middle' destination references i.e. 'middle2' and 'middle3'.
Fore more inforation about the JMS Integration tests see AbstractJmsFunctionalTestCase
Method Summary | |
---|---|
String |
getBroadcastDestinationName()
The test broadcast topic name. |
Connection |
getConnection(boolean topic,
boolean xa)
Create a connection factory for the Jms profider being tested |
String |
getDeadLetterDestinationName()
The test dead letter queue name. |
String |
getDeadLetterEndpoint()
Returns the getDeadLetterDestinationName() in the form of an endpoint URI i.e. |
String |
getInboundDestinationName()
The test inbound queue name. |
String |
getInboundEndpoint()
Returns the getInboundDestinationName() in the form of an endpoint URI i.e. |
String |
getMiddleDestinationName()
The test middle queue name. |
String |
getMiddleEndpoint()
Returns the getMiddleDestinationName() in the form of an endpoint URI i.e. |
String |
getOutboundDestinationName()
The test outbound queue name. |
String |
getOutboundEndpoint()
Returns the getOutboundDestinationName() in the form of an endpoint URI i.e. |
String |
getProtocol()
The protocol used for creating endpoints. |
long |
getSmallTimeout()
Timeout in milliseconds used when checking that a message is NOT present. |
ConnectionFactory |
getTestConnectionFactory()
|
long |
getTimeout()
The timeout in milliseconds used when waiting for a message to arrive. |
String |
getTopicBroadcastEndpoint()
Returns the getBroadcastDestinationName() in the form of an endpoint URI i.e. |
Methods inherited from interface org.mule.tck.ParameterizedConfiguration |
---|
getProperties, initialise, isEnabled |
Methods inherited from interface org.mule.api.NamedObject |
---|
getName |
Method Detail |
---|
Connection getConnection(boolean topic, boolean xa) throws Exception
topic
- whether to use a topic or queue connection factory, for 1.1
implementations this proerty can be ignoredxa
- whether to create an XA connection factory
Exception
String getInboundEndpoint()
getInboundDestinationName()
in the form of an endpoint URI i.e.
jms://in
String getOutboundEndpoint()
getOutboundDestinationName()
in the form of an endpoint URI i.e.
jms://out
String getMiddleEndpoint()
getMiddleDestinationName()
in the form of an endpoint URI i.e.
jms://middle
String getTopicBroadcastEndpoint()
getBroadcastDestinationName()
in the form of an endpoint URI i.e.
jms://topic:broadcast
String getDeadLetterEndpoint()
getDeadLetterDestinationName()
in the form of an endpoint URI i.e.
jms://dlq
String getInboundDestinationName()
String getOutboundDestinationName()
String getMiddleDestinationName()
String getBroadcastDestinationName()
String getDeadLetterDestinationName()
long getSmallTimeout()
long getTimeout()
String getProtocol()
ConnectionFactory getTestConnectionFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |