-
1. Re: HornetQ with dynamic IP
clebert.suconic Nov 2, 2010 2:16 PM (in response to owl-eye)The clients are not doing any socket-accept... so there's no issue on the client changing the IP.
The client will create the socket and the server will hold the connection... But you will never have an opposite direction from the server looking up for the client via accept.
-
2. Re: HornetQ with dynamic IP
owl-eye Nov 2, 2010 2:42 PM (in response to clebert.suconic)OK, I see.
However, I have to describe some more details:
I have a queue from client to server which I understand being able to automatically reconnect/-attach back to the static server IP on failover (=obligatory ISP reconnect).
Another queue in the opposite direction also communicates messages, but this one seems to be tricky after reconnect, i.e. after the client/recipient got the new IP. This new IP may be unknown on server-side, unless it could be sensed through the other reattached queue...
(I mean I need to tell the new IP to the ConnectionFactory to connect back...)
...or I missunderstood the concept of HornetQ... Is it possible to use message Transport between client and server and vise-versa with one single queue?
Thanks!
-
3. Re: HornetQ with dynamic IP
clebert.suconic Nov 2, 2010 4:21 PM (in response to owl-eye)The connection is always opened by the client:
The client will open a connection/socket... and the server will use the pipe created by the client to send notifications.
On the case of a temporary queue, the queue will exist as long as the connection exists. Once you close the connection, the tmp destination will be gone.
-
4. Re: HornetQ with dynamic IP
vinayananth07 Jan 20, 2011 4:55 AM (in response to owl-eye)Hi,
I am trying to implement direct browser communication with hornetq (without using any stomp protocol) ..please let me know how to connect through web-socket from client to the Hornetq (running as standalone server) Currently, i am not able to connect to Hornetq server..I need to know if u had done some specific configuration for this..?
thanks,
Vinay
-
5. Re: HornetQ with dynamic IP
owl-eye Jan 20, 2011 5:29 AM (in response to vinayananth07)Your question doesn't concern this thread! Why don't you open your own thread instead of capturing others?
-
6. Re: HornetQ with dynamic IP
vinayananth07 Jan 20, 2011 6:23 AM (in response to owl-eye)Yeah, absolutely!
But the problem is, nobody has replied/answered to the discussion i had opened under thread below:-
http://community.jboss.org/thread/161275
Hence, I was looking for some solution from you, as you seemed to have worked on Hornetq-web sockets.. Please reply to the discussion I opened as above, in case you have worked on it..