DeliveryOptions problem in javascript

34 views
Skip to first unread message

sacha....@altratech.biz

unread,
Nov 27, 2015, 2:55:56 AM11/27/15
to vert.x
Hi,

I use a point to point connection between a webapps  (javascript) and a java verticle with a reply.

How I can change in javascript the sendTimeout in the DeliveryOptions ?

The code below does not work

var options = { 
DeliveryOptions: { 
"sendTimeout" : 5000 // 5 sec.
}
};

eventBus.send("database-connect", message, options, function (error, reply) {
…..
});

Thanks

Sacha

Julien Viet

unread,
Nov 27, 2015, 5:20:19 AM11/27/15
to ve...@googlegroups.com, sacha....@altratech.biz
I think you don’t need the extra nesting with DeliveryOptions object.

-- 
Julien Viet
www.julienviet.com

--
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.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/61c2c04a-fb84-4cf0-94d2-78a44ace36a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sacha....@altratech.biz

unread,
Nov 27, 2015, 8:40:59 AM11/27/15
to vert.x
Unfortunately this does not work

var options = { 
     "sendTimeout":5
 };
Reply all
Reply to author
Forward
0 new messages