clarencen/lshift — Issue #252: AMQP settings are too global
Author: clarencen
Created: 2011-11-14 22:42:16+00:00
State: open

I've just ran into a problem when running the agent using jetty:run and overwriting the config to match the config used on a live site. The issue is that the config I posted contained references to a different AMQP host than the one that agent is configured to connect to (by default this is localhost). So for example, if you have post a config like this:

@@@

@@@

then the participant will get wired to the localhost broker, and not the broker on some.other.host.

Probably what should happen is that we don't configure a default AMQP host, rather we always spin up connections based on the Endpoint config.