[jboss-user] [IronJacamar] - Re: How use AsynchronousServerSocketChannel with JCA 1.6 ?

Jesper Pedersen do-not-reply at jboss.com
Thu Jun 6 14:00:16 EDT 2013


Jesper Pedersen [https://community.jboss.org/people/jesper.pedersen] created the discussion

"Re: How use AsynchronousServerSocketChannel with JCA 1.6 ?"

To view the discussion, visit: https://community.jboss.org/message/821789#821789

--------------------------------------------------------------
No, do a wrapper class that implements the ExecutorService interface, and take a WorkManager instance in its constructor.

Then the methods uses the WorkManager to execute whatever is passed in.

I would start the ServerSocket in the ResourceAdapter::start() method...

I don't have any NIO.2 examples.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/821789#821789]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130606/5bfaeae8/attachment.html 


More information about the jboss-user mailing list