public interface JmsVendorConfiguration extends ParameterizedConfiguration
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
Modifier and Type | Method and Description |
---|---|
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. |
getProperties, initialise, isEnabled
getName
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 factoryException
String getInboundEndpoint()
getInboundDestinationName()
in the form of an endpoint URI i.e.
jms://inString getOutboundEndpoint()
getOutboundDestinationName()
in the form of an endpoint URI i.e.
jms://outString getMiddleEndpoint()
getMiddleDestinationName()
in the form of an endpoint URI i.e.
jms://middleString getTopicBroadcastEndpoint()
getBroadcastDestinationName()
in the form of an endpoint URI i.e.
jms://topic:broadcastString getDeadLetterEndpoint()
getDeadLetterDestinationName()
in the form of an endpoint URI i.e.
jms://dlqString getInboundDestinationName()
String getOutboundDestinationName()
String getMiddleDestinationName()
String getBroadcastDestinationName()
String getDeadLetterDestinationName()
long getSmallTimeout()
long getTimeout()
String getProtocol()
ConnectionFactory getTestConnectionFactory()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.