activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilantha <>
Subject redelivery failure using MDP with Jencks in ActiveMQ 4.1.0
Date Fri, 09 Feb 2007 17:00:35 GMT

I have a basic configuration for a Message Driven POJO in Spring(2.0) with
Jencks(2.0). This setup works fine if there are no exceptions thrown from
MDP. MDP stop receiving any message as soon as an exception is thrown. If I
restart the listner app it starts receiving again. Am I missing anything

As of my understanding messages should be redelivered 4 times according to
the following configuration and MDP should continuously receive messages.

	<!-- JENCKS-->
	<bean id="jencks" class="org.jencks.JCAContainer">
		<property name="transactionManager" ref="transactionManager" />
		<property name="threadPoolSize" value="25" />
		<property name="resourceAdapter">
			<bean id="activeMQResourceAdapter"
				<property name="serverUrl"

	<bean id="transactionManager"
class="org.jencks.factory.TransactionManagerFactoryBean" />

	<bean id="requestQueue" class="org.apache.activemq.command.ActiveMQQueue">
		<constructor-arg value="requestQueue" />

	<bean id="inboundConnectorB" class="org.jencks.JCAConnector">

		<property name="jcaContainer" ref="jencks" />

		<!-- subscription details -->
		<property name="activationSpec">
			<bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
				<property name="destination" value="requestQueue" />
				<property name="destinationType" value="javax.jms.Queue" />

		<property name="ref" value="echoBean" />

		|| Message Driven POJOs
	<bean id="echoBean" class="blog.mdp.RegistrationServiceImpl">
		<property name="msgConverter">
class="" />

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message