Reference: The JMS Bridge Parameters
Source Connection Factory Factory This injects the SourceCFF bean (also defined in the beans file). This bean is used to create the source ConnectionFactory Target Connection Factory Factory This injects the TargetCFF bean (also defined in the beans file). This bean is used to create the target ConnectionFactory Source Destination Factory Factory This injects the SourceDestinationFactory bean (also defined in the beans file). This bean is used to create the source Destination Target Destination Factory Factory This injects the TargetDestinationFactory bean (also defined in the beans file). This bean is used to create the target Destination Source User Name this parameter is the username for creating the source connection Source Password this parameter is the parameter for creating the source connection Target User Name this parameter is the username for creating the target connection Target Password this parameter is the password for creating the target connection Selector This represents a JMS selector expression used for consuming messages from the source destination. Only messages that match the selector expression will be bridged from the source to the target destination The selector expression must follow the JMS selector syntax Failure Retry Interval This represents the amount of time in ms to wait between trying to recreate connections to the source or target servers when the bridge has detected they have failed Max Retries This represents the number of times to attempt to recreate connections to the source or target servers when the bridge has detected they have failed. The bridge will give up after trying this number of times. -1 represents 'try forever' Quality Of Service This parameter represents the desired quality of service mode Possible values are: AT_MOST_ONCE DUPLICATES_OK ONCE_AND_ONLY_ONCE See Section 33.4, “Quality Of Service� for a explanation of these modes. Max Batch Size This represents the maximum number of messages to consume from the source destination before sending them in a batch to the target destination. Its value must >= 1 Max Batch Time This represents the maximum number of milliseconds to wait before sending a batch to target, even if the number of messages consumed has not reached MaxBatchSize. Its value must be -1 to represent 'wait forever', or >= 1 to specify an actual time Subscription Name If the source destination represents a topic, and you want to consume from the topic using a durable subscription then this parameter represents the durable subscription name Client ID If the source destination represents a topic, and you want to consume from the topic using a durable subscription then this attribute represents the the JMS client ID to use when creating/looking up the durable subscription Add MessageID In Header If true, then the original message's message ID will be appended in the message sent to the destination in the header HORNETQ_BRIDGE_MSG_ID_LIST. If the message is bridged more than once, each message ID will be appended. This enables a distributed request-response pattern to be used Note when you receive the message you can send back a response using the correlation id of the first message id, so when the original sender gets it back it will be able to correlate it. MBean Server To manage the JMS Bridge using JMX, set the MBeanServer where the JMS Bridge MBean must be registered (e.g. the JVM Platform MBeanServer or JBoss AS MBeanServer) ObjectName If you set the MBeanServer, you also need to set the ObjectName used to register the JMS Bridge MBean (must be unique)