[Users] When I connect ActiveMQ with JMS-bc, where should I put jndi.properties on?

wangjz [via Petals Forums] ml-node+s974793n3752423h87 at n3.nabble.com
Fri Feb 17 02:02:53 CET 2012



This is my jbi.xml:
<?xml version="1.0" encoding="UTF-8"?>

<jbi:jbi version="1.0" 
	xmlns:generatedNs="Transit"
	xmlns:jbi="http://java.sun.com/xml/ns/jbi"
	xmlns:jms="http://petals.ow2.org/components/jms/version-3"
	xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	
	
	<jbi:services binding-component="true">
	
		
		<jbi:consumes
			interface-name="generatedNs:Transit"
			service-name="generatedNs:TransitService"
			endpoint-name="TransitServiceEndpoint">
	
			
			<petalsCDK:timeout>30000</petalsCDK:timeout>
			<petalsCDK:operation
xmlns:printMessageNs="Transit">printMessageNs:printMessage</petalsCDK:operation>
			<petalsCDK:mep>InOnly</petalsCDK:mep>
		
				
			<jms:jndi-provider-url>tcp://localhost:61616</jms:jndi-provider-url>
		
<jms:jndi-initial-context-factory>org.apache.activemq.jndi.ActiveMQInitialContextFactory</jms:jndi-initial-context-factory>
			<jms:jndi-destination-name>MyQueue</jms:jndi-destination-name>
		
<jms:jndi-connection-factory>connectionFactory</jms:jndi-connection-factory>
			<jms:transacted>false</jms:transacted>
		</jbi:consumes>
	</jbi:services>
</jbi:jbi>

Can you tell me where should I put the jndi.properties on?

_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/When-I-connect-ActiveMQ-with-JMS-bc-where-should-I-put-jndi-properties-on-tp3749657p3752423.html
To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20120216/c29cc426/attachment.htm>


More information about the Users mailing list