activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaskrish <kaskr...@gmail.com>
Subject WebSphere 5.1 configuration for Jms communication gateway with ActiveMQ 4.1.1
Date Wed, 29 Jul 2009 10:11:55 GMT

Define generic jms provider
1.	Login to WebSphere Admin Console. Go to Resources->GenericJMSProviders
2.	Select the scope = specify node and the server
3.	Click New 
 1.	Name = payment server
 2.	description = gateway to payment server
 3.	Classpath 
  1.	path-to-websphere-lib-ext-directory/activeio-core-3.0.0-incubator.jar
  2.	path-to-websphere-lib-ext-directory/activemq-core-4.1.1.jar
  3.	path-to-websphere-lib-ext-directory/activemq-jaas-4.1.1.jar
  4.	path-to-websphere-lib-ext-directory/activemq-web-4.1.1.jar
  5.	path-to-websphere-lib-ext-directory/backport-util-concurrent-2.1.jar
  6.	path-to-websphere-lib-ext-directory/commons-logging-1.1.1.jar
  7.	path-to-websphere-lib-ext-directory/geronimo-jms_1.1_spec-1.1.1.jar
 4.	External Initial Context Factory =
org.apache.activemq.jndi.ActiveMQWASInitialContextFactory
 5.	External Provider URL = tcp://brokerHost:62002
4.	Apply->ok->Save
http://www.nabble.com/file/p24716253/GenericJms-2.jpg  
Configure JMS Connection Factory for the defined provider
1.	Go to Resources > Generic JMS Providers > payment server > JMS Connection
Factories >
2.	Click New 
 1.	Name = order connection factory
 2.	Type = QUEUE
 3.	JNDI Name = jms/orderConnectionFactory
 4.	External JNDI Name = paymentServer/orderConnectionFactory
 5.	Container-managed Authentication Alias = as appropriate 
3.	Apply->ok->Save
  http://www.nabble.com/file/p24716253/GenericJms-3.jpg 
Configure JMS Destinations for the defined provider
1.	order creation
2.	Go to Resources > Generic JMS Providers > payment server > JMS
Destinations >
3.	Click New 
 1.	Name = order connection
 2.	Type = QUEUE
 3.	JNDI Name = jms/orderConnection
 4.	Description = The external active mq queue where messages will be sent
to.
 5.	External JNDI Name = dynamicQueues/order.in
4.	Apply->ok->Save
 
  http://www.nabble.com/file/p24716253/GenericJms-5.jpg 
Configure Custom properties for the defined provider
1.	Connection Factories
2.	Go to Resources > Generic JMS Providers > payment server > Custom
Properties >
3.	Click New 
1.	Name = java.naming.connectionFactoryNames
2.	Value = paymentServer/orderConnectionFactory
3.	Type = java.lang.String
4.	Apply->ok->Save
  http://www.nabble.com/file/p24716253/GenericJms-7.jpg 
1.	Destinations java.naming.queue.order.in
2.	Go to Resources > Generic JMS Providers > payment server > Custom
Properties >
3.	Click New 
 1.	Name = java.naming.queue.order.in
 2.	Value = order.in
 3.	Type = java.lang.String
 4.	Apply->ok->Save
  http://www.nabble.com/file/p24716253/GenericJms-8.jpg 

-- 
View this message in context: http://www.nabble.com/WebSphere-5.1-configuration-for-Jms-communication-gateway-with-ActiveMQ-4.1.1-tp24716253p24716253.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message