org.jencks
Class TargetSourceMessageListener
java.lang.Object
org.jencks.TargetSourceMessageListener
- All Implemented Interfaces:
- javax.jms.MessageListener, org.springframework.beans.factory.InitializingBean
public class TargetSourceMessageListener
- extends java.lang.Object
- implements javax.jms.MessageListener, org.springframework.beans.factory.InitializingBean
Represents a pool of MessageListener instances using Spring's
TargetSource for the underlying pool.
- Version:
- $Revision: 72 $
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(javax.jms.Message message)
- Specified by:
onMessage
in interface javax.jms.MessageListener
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
getTargetSource
public org.springframework.aop.TargetSource getTargetSource()
setTargetSource
public void setTargetSource(org.springframework.aop.TargetSource targetSource)
handleException
protected void handleException(java.lang.Exception e)
Copyright © 2010 LogicBlaze, Inc.. All Rights Reserved.