Sha256: 99dc664761143dcc19345fc7f3d5ca99b540e7ce5fe2a1516095418510cd5752

Contents?: true

Size: 1.33 KB

Versions: 3

Compression:

Stored size: 1.33 KB

Contents

---
development:
  :connector:
    :uri: hornetq://localhost,192.168.0.22
    :failover_on_initial_connection: true
    :failover_on_server_shutdown: true
    # 5 Connection attempts takes about 16 seconds before it switches to the backup server
    :reconnect_attempts: 5
  :session:
    :username: guest
    :password: guest
    
# Example configuration showing all possible options and their default values if available
full_example:
  :connector:
    # The uri is written as follows for the NettyConnectorFactory.
    #   protocol=netty is the default and therefore not required
    :uri: hornetq://localhost:5445,backuphost:5445/?protocol=netty
    # Or, the uri is written as follows for the InVM
    :uri: hornetq://invm
    # Or, the uri is written as follows for auto-discovery
    :uri: hornetq://discoveryhost:5445/?protocol=discovery
    
    # For a static cluster list as an array of URI's
    :uri:
      - hornetq://server1:5445,server1backup:5445
      - hornetq://server2:5445,server2backup:5445
    # URI format:
    #  hornetq://host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]
    #    where options can be any of
    #      protocol=[netty|invm|discovery]
    :failover_on_initial_connection: true
    :failover_on_server_shutdown: true
    :reconnect_attempts: -1
  :session:
    :username: guest
    :password: guest

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jruby-hornetq-0.2.5.alpha examples/client/advanced/hornetq.yml
jruby-hornetq-0.2.3.alpha examples/client/advanced/hornetq.yml
jruby-hornetq-0.2.1.alpha examples/client/advanced/hornetq.yml