[rabbitmq-discuss] RabbitMQ with Socket Server

Ben Hood 0x6e6562 at gmail.com
Fri Sep 11 07:38:46 BST 2009


On 10 Sep 2009, at 20:52, Alex Gentle <alexgentle at sify.com> wrote:

> I have the following situation. I am thinking of using RabbitMQ for  
> chat inside my iPhone application. iPhone application is connected  
> to the server thru socket server. The socket server passes the  
> information from iPhone to the server and vice versa. I am not sure  
> how could I make this communication path works – iPhone -> Socket Se 
> rver -> RabbitMQ server.  I understand that I can connect the client 
>  directly to RabbitMQ server using client library you provided. I am 
>  not sure how could I pass the message thru socket server.  Socket s 
> erver basically accepts the incoming message from iPhone and route t 
> he message to appropriate server based on header information in the  
> incoming message. It does the same thing when a server wants to comm 
> unicate to the client thru socket server. Socket server accepts only 
>  binary data.  Is it a overkill to use RabbitMQ for this purpose? If 
>  I use XMPP like ejabbberd, I would still have the same issue of rou 
> ting the message thru socket server.  Any help is much appreciated.  
> Thanks!

I don't understand your intention. What problem are you actually  
trying to solve? Are you trying to write an iPhone app that can send  
and receive messages to and from RabbitMQ? I don't understand what  
this socket server is doing apart from relaying data to either Rabbit  
or ejabberd.


More information about the rabbitmq-discuss mailing list