Modifier and Type | Class and Description |
---|---|
static class |
JMSBridge.QualityOfService |
Modifier and Type | Method and Description |
---|---|
Boolean |
addMessageidInHeader()
If true, then the original message's message ID will be appended in the
message sent to the destination in the header AMQ_BRIDGE_MSG_ID_LIST.
|
T |
addMessageidInHeader(Boolean value)
If true, then the original message's message ID will be appended in the
message sent to the destination in the header AMQ_BRIDGE_MSG_ID_LIST.
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
clientId()
The JMS client ID to use when creating/looking up the subscription if it
is durable and the source destination is a topic.
|
T |
clientId(String value)
The JMS client ID to use when creating/looking up the subscription if it
is durable and the source destination is a topic.
|
Long |
failureRetryInterval()
The amount of time in milliseconds to wait between trying to recreate
connections to the source or target servers when the bridge has detected
they have failed.
|
T |
failureRetryInterval(Long value)
The amount of time in milliseconds to wait between trying to recreate
connections to the source or target servers when the bridge has detected
they have failed.
|
String |
getKey() |
Integer |
maxBatchSize()
The maximum number of messages to consume from the source destination
before sending them in a batch to the target destination.
|
T |
maxBatchSize(Integer value)
The maximum number of messages to consume from the source destination
before sending them in a batch to the target destination.
|
Long |
maxBatchTime()
The maximum number of milliseconds to wait before sending a batch to
target, even if the number of messages consumed has not reached
max-batch-size.
|
T |
maxBatchTime(Long value)
The maximum number of milliseconds to wait before sending a batch to
target, even if the number of messages consumed has not reached
max-batch-size.
|
Integer |
maxRetries()
The number of times to attempt to recreate connections to the source or
target servers when the bridge has detected they have failed.
|
T |
maxRetries(Integer value)
The number of times to attempt to recreate connections to the source or
target servers when the bridge has detected they have failed.
|
String |
module()
The name of AS7 module containing the resources required to lookup source
and target JMS resources.
|
T |
module(String value)
The name of AS7 module containing the resources required to lookup source
and target JMS resources.
|
Boolean |
paused()
Whether the JMS bridge is paused.
|
T |
paused(Boolean value)
Whether the JMS bridge is paused.
|
JMSBridge.QualityOfService |
qualityOfService()
The desired quality of service mode (AT_MOST_ONCE, DUPLICATES_OK or
ONCE_AND_ONLY_ONCE).
|
T |
qualityOfService(JMSBridge.QualityOfService value)
The desired quality of service mode (AT_MOST_ONCE, DUPLICATES_OK or
ONCE_AND_ONLY_ONCE).
|
T |
qualityOfService(String qualityOfService)
Deprecated.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
selector()
A JMS selector expression used for consuming messages from the source
destination.
|
T |
selector(String value)
A JMS selector expression used for consuming messages from the source
destination.
|
String |
sourceConnectionFactory()
The name of the source connection factory to lookup on the source
messaging server.
|
T |
sourceConnectionFactory(String value)
The name of the source connection factory to lookup on the source
messaging server.
|
Map |
sourceContext()
The properties used to configure the source JNDI initial context.
|
T |
sourceContext(Map value)
The properties used to configure the source JNDI initial context.
|
T |
sourceContext(String key,
Object value)
The properties used to configure the source JNDI initial context.
|
String |
sourceDestination()
The name of the source destination to lookup on the source messaging
server.
|
T |
sourceDestination(String value)
The name of the source destination to lookup on the source messaging
server.
|
String |
sourcePassword()
The password for creating the source connection.
|
T |
sourcePassword(String value)
The password for creating the source connection.
|
String |
sourceUser()
The name of the user for creating the source connection.
|
T |
sourceUser(String value)
The name of the user for creating the source connection.
|
Boolean |
started()
Whether the JMS bridge is started.
|
T |
started(Boolean value)
Whether the JMS bridge is started.
|
String |
subscriptionName()
The name of the subscription if it is durable and the source destination
is a topic.
|
T |
subscriptionName(String value)
The name of the subscription if it is durable and the source destination
is a topic.
|
String |
targetConnectionFactory()
The name of the target connection factory to lookup on the target
messaging server.
|
T |
targetConnectionFactory(String value)
The name of the target connection factory to lookup on the target
messaging server.
|
Map |
targetContext()
The properties used to configure the target JNDI initial context.
|
T |
targetContext(Map value)
The properties used to configure the target JNDI initial context.
|
T |
targetContext(String key,
Object value)
The properties used to configure the target JNDI initial context.
|
String |
targetDestination()
The name of the target destination to lookup on the target messaging
server.
|
T |
targetDestination(String value)
The name of the target destination to lookup on the target messaging
server.
|
String |
targetPassword()
The password for creating the target connection.
|
T |
targetPassword(String value)
The password for creating the target connection.
|
String |
targetUser()
The name of the user for creating the target connection.
|
T |
targetUser(String value)
The name of the user for creating the target connection.
|
public JMSBridge(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="add-messageID-in-header") public Boolean addMessageidInHeader()
public T addMessageidInHeader(Boolean value)
@ModelNodeBinding(detypedName="client-id") public String clientId()
public T clientId(String value)
@ModelNodeBinding(detypedName="failure-retry-interval") public Long failureRetryInterval()
public T failureRetryInterval(Long value)
@ModelNodeBinding(detypedName="max-batch-size") public Integer maxBatchSize()
public T maxBatchSize(Integer value)
@ModelNodeBinding(detypedName="max-batch-time") public Long maxBatchTime()
public T maxBatchTime(Long value)
@ModelNodeBinding(detypedName="max-retries") public Integer maxRetries()
public T maxRetries(Integer value)
@ModelNodeBinding(detypedName="module") public String module()
public T module(String value)
@ModelNodeBinding(detypedName="paused") public Boolean paused()
@Deprecated public T qualityOfService(String qualityOfService)
@ModelNodeBinding(detypedName="quality-of-service") public JMSBridge.QualityOfService qualityOfService()
public T qualityOfService(JMSBridge.QualityOfService value)
@ModelNodeBinding(detypedName="selector") public String selector()
public T selector(String value)
@ModelNodeBinding(detypedName="started") public Boolean started()
@ModelNodeBinding(detypedName="subscription-name") public String subscriptionName()
public T subscriptionName(String value)
@ModelNodeBinding(detypedName="source-connection-factory") public String sourceConnectionFactory()
public T sourceConnectionFactory(String value)
@ModelNodeBinding(detypedName="source-context") public Map sourceContext()
public T sourceContext(Map value)
public T sourceContext(String key, Object value)
@ModelNodeBinding(detypedName="source-destination") public String sourceDestination()
public T sourceDestination(String value)
@ModelNodeBinding(detypedName="source-password") public String sourcePassword()
public T sourcePassword(String value)
@ModelNodeBinding(detypedName="source-user") public String sourceUser()
public T sourceUser(String value)
@ModelNodeBinding(detypedName="target-connection-factory") public String targetConnectionFactory()
public T targetConnectionFactory(String value)
@ModelNodeBinding(detypedName="target-context") public Map targetContext()
public T targetContext(Map value)
public T targetContext(String key, Object value)
@ModelNodeBinding(detypedName="target-destination") public String targetDestination()
public T targetDestination(String value)
@ModelNodeBinding(detypedName="target-password") public String targetPassword()
public T targetPassword(String value)
@ModelNodeBinding(detypedName="target-user") public String targetUser()
Copyright © 2016 JBoss by Red Hat. All rights reserved.