[jboss-user] [Messaging, JMS & JBossMQ] - Re: Log4j and JMS Appender Using ActiveMQ
do-not-reply at jboss.com
Mon Dec 3 23:57:51 EST 2007
I have not done it, but I can imagine that it's pretty easy. You just set up ActiveMQ like it says in the following instructions. http://wiki.jboss.org/wiki/Wiki.jsp?page=ActiveMqIntegration
Then set up a topic you want to use as logging as an AdminObject(the example above set's up Queue's A-D, you can set a topic up the same way.
activemq/topic/Logging <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-ra-4.0.1.rar' javax.jms.Topic PhysicalName=topic.Logging
When configuring the jms appender for log4j, you would use the following arguments...
Hope this gives you something to go on...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110074#4110074
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110074
More information about the jboss-user