public class JMSBridge<T extends JMSBridge<T>> extends Object
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).
|
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.
|
Map |
sourceCredentialReference()
Credential (from Credential Store) to authenticate source connection
|
T |
sourceCredentialReference(Map value)
Credential (from Credential Store) to authenticate source connection
|
T |
sourceCredentialReference(String key,
Object value)
Credential (from Credential Store) to authenticate source connection
|
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.
|
Map |
targetCredentialReference()
Credential (from Credential Store) to authenticate target connection
|
T |
targetCredentialReference(Map value)
Credential (from Credential Store) to authenticate target connection
|
T |
targetCredentialReference(String key,
Object value)
Credential (from Credential Store) to authenticate target connection
|
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)
public Boolean addMessageidInHeader()
public T addMessageidInHeader(Boolean value)
public String clientId()
public T clientId(String value)
public Long failureRetryInterval()
public T failureRetryInterval(Long value)
public Integer maxBatchSize()
public T maxBatchSize(Integer value)
public Long maxBatchTime()
public T maxBatchTime(Long value)
public Integer maxRetries()
public T maxRetries(Integer value)
public String module()
public T module(String value)
public Boolean paused()
public JMSBridge.QualityOfService qualityOfService()
public T qualityOfService(JMSBridge.QualityOfService value)
public String selector()
public T selector(String value)
public Boolean started()
public String subscriptionName()
public T subscriptionName(String value)
public String sourceConnectionFactory()
public T sourceConnectionFactory(String value)
public Map sourceContext()
public T sourceContext(Map value)
public T sourceContext(String key, Object value)
public Map sourceCredentialReference()
public T sourceCredentialReference(Map value)
public T sourceCredentialReference(String key, Object value)
public String sourceDestination()
public T sourceDestination(String value)
public String sourcePassword()
public T sourcePassword(String value)
public String sourceUser()
public T sourceUser(String value)
public String targetConnectionFactory()
public T targetConnectionFactory(String value)
public Map targetContext()
public T targetContext(Map value)
public T targetContext(String key, Object value)
public Map targetCredentialReference()
public T targetCredentialReference(Map value)
public T targetCredentialReference(String key, Object value)
public String targetDestination()
public T targetDestination(String value)
public String targetPassword()
public T targetPassword(String value)
public String targetUser()
Copyright © 2018 JBoss by Red Hat. All rights reserved.