On 24/04/17 18:47, Chester wrote:
Hey Gordon,
Thank you for the response. I think I must be reading something wrong here.
Obviously, from
https://qpid.apache.org/releases/qpid-0.32/programming/book/connections.html#connection-url,
I can set the server address (the url used by the client to connect to the
given broker address). Are you saying there is also a capability to set the
client's address (the client's IP to use as the source when connecting to
the broker's address)? If so, I must have overlooked this in the
documentation or be misreading something. Example IPs to further illustrate
the point:
Client: Server (broker)
eth0 10.1.1.1 eth0 10.2.1.1
eth1 10.1.1.2
Is there some connection string option which will ensure qpidd-cpp-client
is only connecting over eth0 (10.1.1.1) instead of eth1 (10.1.1.2)?
No, sorry, I misunderstood. I thought it was the server that had
multiple interfaces (and was a bit puzzled by the question!).
There is nothing in qpid::messaging that would let you choose the
interface to use. I don't think there is anything at the socket level
either tbh, I think you would need to alter the routing rules on the
client machine.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]