You are talking about two things now.

One is exposing new port which can be done via SocketBinding infrastructure we have.
for example see ListenerAdd in undertow subsystem.

Completely different thing is protocol multiplexing aka utilizing http upgrade.
In this case port is one already exposed by undertow (8080 by default)
See RemotingHttpUpgradeService for example how http-remoting works.
Before you go with this solution make sure also protocol client support this.

--
tomaz


On Thu, Sep 25, 2014 at 4:29 PM, Heiko Braun <hbraun@redhat.com> wrote:
Can someone give me a brief overview how a subsystem would expose a port?  How are services actually wired to the protocol multiplexing ? Can you point me to some examples?

Regards, Heiko
_______________________________________________
wildfly-dev mailing list
wildfly-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev