I'm not sure the JVM can do much here, and by extension the AMQ client library.
The JVM asks the OS for a network socket to communicate with an IP, and the OS queries its routing tables to select the network adapter to route traffic through. So in my opinion, you'll need to configure your OS routing tables to achieve your goal. On Unix systems you can use the route command to manipulate routing tables. Regards, Raúl. On Mar 6, 2013, at 12:45, jan wrote: > No no, it is all on the client-side. I need to bind the message-listener to > the network-interface, not the broker! The server can bind to the IPs, > that's not the issue. But how does the client listen dedicated to a > network-interface? > > Greetings > Jan > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Best-protocol-network-interface-binding-tp4664240p4664428.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.