geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivanrc <iri...@indra.es>
Subject Configure and Deploy JMS Resources in Geronimo 2.0.2
Date Tue, 06 Nov 2007 09:08:49 GMT

Hello,

 I´m trying to configure and deploy JMS Resources in Geronimo 2.0.2. I´ve
got the connector xml file below that is for geronimo 1.1

I want to know what I have to change in this file and how to deploy it,
because i trying to use... 

deploy.bat deploy my-JMS-resources-plan.xml
repository/activemq/rars/activemq.rar 

... and It in this version doesn´t work.

Thanks.


my-JMS-resources-plan.xml:


<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
configId="SampleJMSResources" parentId="geronimo/activemq/1.0/car">
	<resourceadapter>
		<resourceadapter-instance>
			<resourceadapter-name>SampleJMSResources</resourceadapter-name>
			<config-property-setting
name="ServerUrl">tcp://localhost:61616</config-property-setting>
			<workmanager>
				<gbean-link>DefaultWorkManager</gbean-link>
			</workmanager>
		</resourceadapter-instance>
		<!-- defines a ConnectionFactory -->
		<outbound-resourceadapter>
			<connection-definition>
			
<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
				<connectiondefinition-instance>
					<name>SampleConnectionFactory</name>
				
<implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
				
<implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
					<connectionmanager>
						<xa-transaction>
							<transaction-caching />
						</xa-transaction>
						<single-pool>
							<max-size>10</max-size>
							<min-size>0</min-size>
							<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
							<idle-timeout-minutes>0</idle-timeout-minutes>
							<match-one />
						</single-pool>
					</connectionmanager>
					<global-jndi-name>jms/SampleConectionFactory</global-jndi-name>
				</connectiondefinition-instance>
			</connection-definition>
		</outbound-resourceadapter>
	</resourceadapter>
	<!-- defines a Topic -->
	<adminobject>
		<adminobject-interface>javax.jms.Topic</adminobject-interface>
	
<adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
		<adminobject-instance>
			<message-destination-name>SampleTopic</message-destination-name>
			<config-property-setting
name="PhysicalName">SampleTopic</config-property-setting>
		</adminobject-instance>
	</adminobject>
	<!-- defines a Queue -->
	<adminobject>
		<adminobject-interface>javax.jms.Queue</adminobject-interface>
	
<adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
		<adminobject-instance>
			<message-destination-name>SampleQueue</message-destination-name>
			<config-property-setting
name="PhysicalName">SampleQueue</config-property-setting>
		</adminobject-instance>
	</adminobject>
</connector>
-- 
View this message in context: http://www.nabble.com/Configure-and-Deploy-JMS-Resources-in-Geronimo-2.0.2-tf4756866s134.html#a13603013
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message