You need to set the connectorPort property on the ManagementContext to the
port number you want to use, as described in
http://activemq.apache.org/jmx.html.  It doesn't go in the URI that the
clients use to connect to the broker; that's a different port entirely.

On Mon, Oct 6, 2014 at 1:12 AM, Avinash <avinash.n.yadag...@gmail.com>
wrote:

> Yes, there is another application running on port 1099 and so I want my app
> to use some other port.
> But not sure where to change the port number.
>
> I tried giving in the VM url as below but of no use. It always picks 1099
>
> vm://localhost:4000?broker.persistent=false&amp;broker.useJmx=true
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-to-change-the-default-port-1099-used-by-ActiveMq-in-apache-camel-tp4686081p4686154.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to