My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
SpringJmsAdapter  
Configuration of the SpringJmsAdapter for connecting to Spring managed JMS Topics and Queues
Updated Feb 4, 2010 by Chris.Sc...@gmail.com

Introduction

The SpringJmsAdapter allows you to send and receive JMS messages through Topics and Queues configured through Spring. This adapter relies on all JMS configuration set up through Spring and registers or retrieves topics and queues through a default application context

messaging-config.xml configuration

<adapters>

...

<adapter-definition id="spring-jms" class="flexserverlib.messaging.services.messaging.adapters.SpringJmsAdapter"/>

...

</adapters>

....

<destination id="my-topic">
	<channels>
		<channel ref="my-polling-amf"/>
	</channels>

	<properties>
		<jms>
			<destination-type>Topic</mail-server>
			<message-type>TextMessage</message-type>
			<subscription-timeout-minutes>0</subscription-timeout-minutes>
		</jms>
	</properties>

	<adapter ref="spring-jms"/>
</destination>

Sign in to add a comment
Powered by Google Project Hosting