activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From loganathan <logu.i...@gmail.com>
Subject Is simpleauthentication required for vm broker url in activemq?
Date Sat, 29 Jun 2013 09:50:55 GMT
i have added the following code in context_activemq.xml for
simpleauthentication for vm brokerurl.As i am new to activemq i don't know
exactly is simpleauthentication is required for vm brokerurl?if its required
means how i can acheived through simpleauthentication technique in
activemq?Is anyone help for this problem would be highly appreciated.

<bean id ="amqConnectionFactory" 
		class="org.apache.activemq.ActiveMQConnectionFactory">
		<property name="brokerURL" 
			value="vm://brokerexample" />
			<property name="userName" value="publisher" />
		<property name="password" value="password" />
	</bean>

<amq:broker start="true" persistent="true" 
		brokerName="brokerexample" 
		deleteAllMessagesOnStartup="false" >

<amq:transportConnectors>
			<amq:transportConnector name="tcp" 
				uri="vm://brokerexample"/>
		</amq:transportConnectors>

<amq:plugins>
			 <amq:simpleAuthenticationPlugin>
				<amq:users>
					<amq:authenticationUser id="example" username="publisher"
password="password" groups="users,admins" />
					</amq:users>
				</amq:simpleAuthenticationPlugin>
    </amq:plugins>
	</amq:broker>
</beans>



--
View this message in context: http://activemq.2283324.n4.nabble.com/Is-simpleauthentication-required-for-vm-broker-url-in-activemq-tp4668721.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message