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&...]