activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How to purge or Delete messages from ActiveMq Topic
Date Tue, 01 Dec 2009 09:45:52 GMT
you cannot do this with log4j config.
You need to configure the  discarding behavior on the broker.
see: http://activemq.apache.org/slow-consumer-handling.html

2009/12/1 Asheesh Gupta <gupta.asheesh22@gmail.com>

>
> Hi Gary,
>     for logging the messages in the activemq Topic, i am log4j properties.
>
> Here is log4j properties file changes for topic logging.
>
> log4j.appender.jms=org.apache.log4j.net.JMSAppender
>
> log4j.appender.jms.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory
> log4j.appender.jms.ProviderURL=tcp://localhost:61616
> log4j.appender.jms.TopicBindingName=Topic
> log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory
>
>
> Could please tell me whether its possible to purge the messages using log4j
> properties?
>
> or is there any way to delete or purge the messages from topic?
>
>
> Thanks in advance.
>
> Asheesh
>
>
>
> --
> View this message in context:
> http://old.nabble.com/How-to-purge-or-Delete-messages-from-ActiveMq-Topic-tp26526453p26588101.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message