Sha256: f947129844d495ecbd0fccf3aabb48114e79c9fbabcfaa03df7266ee992394dd

Contents?: true

Size: 1.36 KB

Versions: 6

Compression:

Stored size: 1.36 KB

Contents

---
development:
  :connection:
    :uri: hornetq://localhost
    :failover_on_initial_connection: true
    :failover_on_server_shutdown: true
    :reconnect_attempts: 5
  :session:
    :username: guest
    :password: guest
    
# Example configuration showing all possible options and their default values if available
full_example:
  :connection:
    # The uri is written as follows for the NettyConnectorFactory.
    :uri: hornetq://localhost:5445,backuphost:5445/?protocol=netty
    # protocol=netty is the default and therefore not required
    :uri: hornetq://localhost:5445,backuphost:5445
    # And since the default port is 5445
    :uri: hornetq://localhost,backuphost
    # Or, the uri is written as follows for 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

6 entries across 6 versions & 1 rubygems

Version Path
jruby-hornetq-0.5.0.alpha examples/advanced/hornetq.yml
jruby-hornetq-0.4.0 examples/advanced/hornetq.yml
jruby-hornetq-0.3.3 examples/advanced/hornetq.yml
jruby-hornetq-0.3.2 examples/advanced/hornetq.yml
jruby-hornetq-0.3.1 examples/advanced/hornetq.yml
jruby-hornetq-0.3.0.alpha examples/advanced/hornetq.yml