public class JmsBridge extends Object
| 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.
|
JmsBridge |
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.
|
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.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
paused(Boolean value)
Whether the JMS bridge is paused.
|
String |
qualityOfService()
The desired quality of service mode (AT_MOST_ONCE, DUPLICATES_OK or ONCE_AND_ONLY_ONCE).
|
JmsBridge |
qualityOfService(String value)
The desired quality of service mode (AT_MOST_ONCE, DUPLICATES_OK or ONCE_AND_ONLY_ONCE).
|
String |
selector()
A JMS selector expression used for consuming messages from the source destination.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
sourceContext(Map 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.
|
JmsBridge |
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.
|
JmsBridge |
sourcePassword(String value)
The password for creating the source connection.
|
String |
sourceUser()
The name of the user for creating the source connection.
|
JmsBridge |
sourceUser(String value)
The name of the user for creating the source connection.
|
Boolean |
started()
Whether the JMS bridge is started.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
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.
|
JmsBridge |
targetContext(Map 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.
|
JmsBridge |
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.
|
JmsBridge |
targetPassword(String value)
The password for creating the target connection.
|
String |
targetUser()
The name of the user for creating the target connection.
|
JmsBridge |
targetUser(String value)
The name of the user for creating the target connection.
|
public JmsBridge(String key)
public String getKey()
public Boolean addMessageidInHeader()
public JmsBridge addMessageidInHeader(Boolean value)
public String clientId()
public JmsBridge clientId(String value)
public Long failureRetryInterval()
public JmsBridge failureRetryInterval(Long value)
public Integer maxBatchSize()
public JmsBridge maxBatchSize(Integer value)
public Long maxBatchTime()
public JmsBridge maxBatchTime(Long value)
public Integer maxRetries()
public JmsBridge maxRetries(Integer value)
public String module()
public JmsBridge module(String value)
public Boolean paused()
public String qualityOfService()
public JmsBridge qualityOfService(String value)
public String selector()
public JmsBridge selector(String value)
public Boolean started()
public String subscriptionName()
public JmsBridge subscriptionName(String value)
public String sourceConnectionFactory()
public JmsBridge sourceConnectionFactory(String value)
public Map sourceContext()
public JmsBridge sourceContext(Map value)
public String sourceDestination()
public JmsBridge sourceDestination(String value)
public String sourcePassword()
public JmsBridge sourcePassword(String value)
public String sourceUser()
public JmsBridge sourceUser(String value)
public String targetConnectionFactory()
public JmsBridge targetConnectionFactory(String value)
public Map targetContext()
public JmsBridge targetContext(Map value)
public String targetDestination()
public JmsBridge targetDestination(String value)
public String targetPassword()
public JmsBridge targetPassword(String value)
public String targetUser()
Copyright © 2015 JBoss by Red Hat. All rights reserved.