How can I add a custom Netty channel handler in Vert.x?

285 views Asked by At

The docs only mention Netty, but I can't find a way to access e.g. the ServerBootstrap or get a hold of the channel.

2

There are 2 answers

0
Norman Maurer On

As far as I know this is not possible. Netty is an implementation detail of Vert.x

0
tsegismont On

It's not possible to add a custom channel handler to servers created by Vert.x.

However you can integrate servers created manually with Vert.x contexts/verticles.

See http://www.julienviet.com/advanced-vertx-guide/#integrating-netty