org.codehaus.activemq.jca
Class TargetSourceMessageListener
java.lang.Object
org.codehaus.activemq.jca.TargetSourceMessageListener
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, MessageListener
- public class TargetSourceMessageListener
- extends Object
- implements MessageListener, org.springframework.beans.factory.InitializingBean
Represents a pool of MessageListener instances using Spring's
TargetSource for the underlying pool.
- Version:
- $Revision: 1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetSourceMessageListener
public TargetSourceMessageListener()
onMessage
public void onMessage(Message message)
- Specified by:
onMessage
in interface MessageListener
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getTargetSource
public org.springframework.aop.TargetSource getTargetSource()
setTargetSource
public void setTargetSource(org.springframework.aop.TargetSource targetSource)
handleException
protected void handleException(Exception e)
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.