mirror of https://github.com/apache/activemq.git
Fixed comments and allow the use of <connectionFactory> and <xaConnectionFactory> in xbean files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@427135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2f9eba23a
commit
b3001f22b1
|
@ -23,7 +23,10 @@ import org.apache.commons.logging.LogFactory;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the pretech message policies for different types of consumers
|
* Defines the prefetch message policies for different types of consumers
|
||||||
|
*
|
||||||
|
* @org.apache.xbean.XBean element="prefetchPolicy"
|
||||||
|
*
|
||||||
* @version $Revision: 1.3 $
|
* @version $Revision: 1.3 $
|
||||||
*/
|
*/
|
||||||
public class ActiveMQPrefetchPolicy implements Serializable {
|
public class ActiveMQPrefetchPolicy implements Serializable {
|
||||||
|
|
|
@ -24,6 +24,8 @@ import java.util.Random;
|
||||||
* Configuration options used to control how messages are re-delivered when they
|
* Configuration options used to control how messages are re-delivered when they
|
||||||
* are rolled back.
|
* are rolled back.
|
||||||
*
|
*
|
||||||
|
* @org.apache.xbean.XBean element="redeliveryPolicy"
|
||||||
|
*
|
||||||
* @version $Revision: 1.11 $
|
* @version $Revision: 1.11 $
|
||||||
*/
|
*/
|
||||||
public class RedeliveryPolicy implements Cloneable, Serializable {
|
public class RedeliveryPolicy implements Cloneable, Serializable {
|
||||||
|
|
|
@ -28,7 +28,8 @@ import org.apache.activemq.command.Message;
|
||||||
import org.apache.activemq.filter.DestinationFilter;
|
import org.apache.activemq.filter.DestinationFilter;
|
||||||
import org.apache.activemq.filter.MessageEvaluationContext;
|
import org.apache.activemq.filter.MessageEvaluationContext;
|
||||||
/**
|
/**
|
||||||
* This implementation of {@link SubscriptionRecoveryPolicy} will only keep the last message.
|
* This implementation of {@link SubscriptionRecoveryPolicy} will keep a fixed count
|
||||||
|
* of last messages.
|
||||||
*
|
*
|
||||||
* @org.apache.xbean.XBean
|
* @org.apache.xbean.XBean
|
||||||
*
|
*
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.activemq.command.ActiveMQDestination;
|
||||||
import org.apache.activemq.command.Message;
|
import org.apache.activemq.command.Message;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the default Topic recovery policy which does not recover any messages.
|
* This SubscriptionRecoveryPolicy disable recovery of messages.
|
||||||
*
|
*
|
||||||
* @org.apache.xbean.XBean
|
* @org.apache.xbean.XBean
|
||||||
*
|
*
|
||||||
|
|
|
@ -25,6 +25,8 @@ import org.springframework.beans.factory.InitializingBean;
|
||||||
* so that connections created have client IDs related to your Spring.xml file for
|
* so that connections created have client IDs related to your Spring.xml file for
|
||||||
* easier comprehension from <a href="http://incubator.apache.org/activemq/jmx.html">JMX</a>.
|
* easier comprehension from <a href="http://incubator.apache.org/activemq/jmx.html">JMX</a>.
|
||||||
*
|
*
|
||||||
|
* @org.apache.xbean.XBean element="connectionFactory"
|
||||||
|
*
|
||||||
* @version $Revision: $
|
* @version $Revision: $
|
||||||
*/
|
*/
|
||||||
public class ActiveMQConnectionFactory extends org.apache.activemq.ActiveMQConnectionFactory implements InitializingBean, BeanNameAware {
|
public class ActiveMQConnectionFactory extends org.apache.activemq.ActiveMQConnectionFactory implements InitializingBean, BeanNameAware {
|
||||||
|
|
|
@ -25,6 +25,8 @@ import org.springframework.beans.factory.InitializingBean;
|
||||||
* so that connections created have client IDs related to your Spring.xml file for
|
* so that connections created have client IDs related to your Spring.xml file for
|
||||||
* easier comprehension from <a href="http://incubator.apache.org/activemq/jmx.html">JMX</a>.
|
* easier comprehension from <a href="http://incubator.apache.org/activemq/jmx.html">JMX</a>.
|
||||||
*
|
*
|
||||||
|
* @org.apache.xbean.XBean element="xaConnectionFactory"
|
||||||
|
*
|
||||||
* @version $Revision: $
|
* @version $Revision: $
|
||||||
*/
|
*/
|
||||||
public class ActiveMQXAConnectionFactory extends org.apache.activemq.ActiveMQXAConnectionFactory implements InitializingBean, BeanNameAware {
|
public class ActiveMQXAConnectionFactory extends org.apache.activemq.ActiveMQXAConnectionFactory implements InitializingBean, BeanNameAware {
|
||||||
|
|
Loading…
Reference in New Issue