Java Client to Connect to Event bus Host,Port and receive messages for a registeered handler

879 views
Skip to first unread message

Vik Rrr

unread,
Aug 10, 2016, 9:18:57 AM8/10/16
to vert.x


I want to write a JAVA client that can connect to event bus and register a handler and receive messages

Thomas SEGISMONT

unread,
Aug 10, 2016, 11:21:46 AM8/10/16
to ve...@googlegroups.com

2016-08-10 15:18 GMT+02:00 Vik Rrr <polo...@gmail.com>:


I want to write a JAVA client that can connect to event bus and register a handler and receive messages

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/96fc1311-5de5-41f8-8a06-2fe2a060997e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vik Rrr

unread,
Aug 13, 2016, 12:23:39 AM8/13/16
to vert.x
My requirement is that the vertx event bus is running at https://12.234.34.20:8090/eventbus

I want to write a java code on my local machine to connect to that remote eventbus then register a handler, send a message , receive the same message just to test. Dont want to use the javascript front end html client

Mumuney Abdlquadri

unread,
Aug 13, 2016, 1:47:25 AM8/13/16
to ve...@googlegroups.com
Check https://github.com/vert-x3/vertx-awesome#vertx-event-bus-clients

In our application we have used this to provide pushs services to our Android app.


On Fri, Aug 12, 2016 at 9:23 PM, Vik Rrr <polo...@gmail.com> wrote:
My requirement is that the vertx event bus is running at https://12.234.34.20:8090/eventbus

I want to write a java code on my local machine to connect to that remote eventbus then register a handler, send a message , receive the same message just to test. Dont want to use the javascript front end html client
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.

Vik Rrr

unread,
Aug 25, 2016, 2:30:23 AM8/25/16
to vert.x
The eventbus port is SSL certified so the onopen method is not getting invoked,how can I achieve that


On Saturday, August 13, 2016 at 11:17:25 AM UTC+5:30, Mumuney Abdlquadri wrote:
Check https://github.com/vert-x3/vertx-awesome#vertx-event-bus-clients

In our application we have used this to provide pushs services to our Android app.

On Fri, Aug 12, 2016 at 9:23 PM, Vik Rrr <polo...@gmail.com> wrote:
My requirement is that the vertx event bus is running at https://12.234.34.20:8090/eventbus

I want to write a java code on my local machine to connect to that remote eventbus then register a handler, send a message , receive the same message just to test. Dont want to use the javascript front end html client

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.

Mumuney Abdlquadri

unread,
Aug 25, 2016, 3:04:56 AM8/25/16
to ve...@googlegroups.com
Hi vik,

Are you using the library I linked? If yes, can you please provide a reproducer that demonstrates the issue.

Thank You.

To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.

Juan Jose Sanchez Silos

unread,
Jan 20, 2017, 2:44:56 AM1/20/17
to vert.x
Hello.

I have a similar problem. I have to connect to ws://212.22.232.11:8081/eventbus/websocket in order to subscribe my android application to different "topics" or "chat" to get messages. I am already using this library https://github.com/goodow/realtime-android/tree/master/src/main/java/com/goodow/realtime but I want to change java-websocket in order to use vert.x and I found your library (Mumuney) . Basically my problem is I dont know how manage this path "/eventbus/websocket", so, if I use the connect method with the IP and port I get a connection successful but if I use the complete path not.

EventBus.connect("212.22.232.11", 8081, new...) => connection true

EventBus.connect("212.22.232.11/eventbus/websocket", 8081, new...) => connection false

I think I am not managing the host properly, because when I have a connection using the first case I dont receive any message from my server but if I use the goodow's library I can receive them, so, How I can manage this path with Mumuney's library?

Thanks!


Mumuney Abdlquadri

unread,
Mar 3, 2017, 12:58:16 AM3/3/17
to ve...@googlegroups.com
uses Websoket.

If you provide a sample code I will take alook.

Thanks

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
Reply all
Reply to author
Forward
0 new messages