activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patsfan <>
Subject Specifying JMX Port for Embedded Broker without external configuration
Date Wed, 25 Jul 2012 15:10:08 GMT

We have an application that is deployed in JBoss that utilizes Spring.  Our
spring configuration has the following for ActiveMQ configuration.  For our
development environment, the following is what the configuration looks like
(after property substitution):

	<bean id="internalJmsFactory"
		<property name="brokerURL"

and then we rely on ActiveMQ to create the broker upon creating a
connection.  As you can tell, we have broker.useJmx set to true.  When
deploying the application in JBoss (4.x) this is problematic, because JBoss
grabs port 1099 for naming and ActiveMQ then cannot start it's own JMX.

Is there a way to set the JMX port number for JMX within the URL above or
somehow otherwise inject it without additional configuration?  

We are trying to avoid having to explicitly create a broker either via
spring or code, because in production, we are connecting to an externally
deployed ActiveMQ instance using the failover:// URL and we do not run into
this issue when ActiveMQ is not embedded in JBoss.

Thanks in advance,

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message