Menu Close
Settings Close

Language and Page Formatting Options

20.8.5. Configuring HornetQ Core Bridge

Example 20.3. Example configuration for HornetQ Core Bridge:

The values in this example are used to illustrate the rest of this topic.
  	<bridge name="myBridge">

Table 20.8. HornetQ Core Bridge Attributes

Attribute Description
All bridges must have a unique name on the server.
This mandatory parameter is the unique name of the local queue that the bridge consumes from. The queue must already exist by the time the bridge is instantiated at start-up.
This is the address on the target server that the message will be forwarded to. If a forwarding address is not specified, then the original address of the message will be retained.
This optional parameter determines whether or not this bridge should support high availability. true means it will connect to any available server in a cluster and support failover. The default value is false.
This optional parameter determines the total number of reconnect attempts the bridge should make before giving up and shutting down. A value of -1 signifies an unlimited number of attempts. The default value is -1.
This optional parameter determines whether the bridge will automatically insert a duplicate id property into each message that it forwards.
The static-connectors is a list of connector-ref elements pointing to connector elements defined elsewhere. A connector encapsulates knowledge of what transport to use (TCP, SSL, HTTP etc) as well as the server connection parameters (host, port etc).