We've implemented a connection factory used by ejb clients to connect to jms.
The configuration in standalone.xml looks like:
<connector name="netty" socket-binding="messaging">
(example.NettyConnectorFactory extends org.hornetq.core.remoting.impl.netty.NettyConnectorFactory)
This works fine as long as no port offset is configured. When e.g. port-offset of 100 is configured, the factory still uses port 5445 instead of 5545.
Using a connector of type <netty-connector> works fine with port-offset:
<netty-connector name="netty" socket-binding="messaging" />
A workaround is to explicitly setting the port number:
<param key="port" value="5545"/>
but then we have to change the configuration whenever the port offset changes.
Is something missing/wrong in the configuration?
Thanks in advance
Retrieving data ...