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
>
> Hi Gary,
> for logging the messages in the activemq Topic, i am log4j properties.
>
> Here is log4j prop
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
lo
are you using auto_acknowledge on your session? Issue may be that the
messages are not getting acked if you have a durable subscriber.
Can you post your code?
2009/11/26 Asheesh Gupta
>
> Hi All,
> I am trying to write an application in which i am sending my logs
> messages to activemq Top