Hi,
I've been looking at Netty (
http://www.jboss.org/netty/) and have written a
NettyGateway as an exercise and thought that this might be interesting for others.
Workspace :
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/workspace/dbevenius/net...
Quickstart:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/workspace/dbevenius/net...
This is a very simple example of a client that sends a String to the gateway. The gateway
will package the sent String (using the configured decoder) into a ESB Message and
dispatch it to the target service using the ServiceInvoker.
This will be a synchronous call and a reply will be returned back to the caller.
Gateway class:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/workspace/dbevenius/net...
Netty has quite a few examples and among others it has an http example that might be
interesting. The examples and docs can be found here:
http://www.jboss.org/netty/documentation.html
If you take a look and you'd like to see something like this added to the code base
then please let us know. All feedback is appreciated.
regards,
/Daniel
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202692#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...