Hello,
It seems that StompConnect API does not allow binding on all network interfaces (just like JBoss could with option -b 0.0.0.0)
See API at
http://stomp.codehaus.org/maven/apidocs/org/codehaus/stomp/jms/StompConnect.html- it has only setUri/setLocation methods which take the host name string.
Being provided, the host name is used in stompConnect source code to build InetAddress from it and further create server socket.
Does it mean that if I need to bind to all interfaces then I have to iterate over them and bind to each corresponding InetAddress?
This is my current solution by the way.
Thanks,
Alex.