org.apache.servicemix.wsn.jms
Class JmsPullPoint

java.lang.Object
  extended by org.apache.servicemix.wsn.AbstractEndpoint
      extended by org.apache.servicemix.wsn.AbstractPullPoint
          extended by org.apache.servicemix.wsn.jms.JmsPullPoint
All Implemented Interfaces:
NotificationConsumer, PullPoint

public class JmsPullPoint
extends AbstractPullPoint


Field Summary
 
Fields inherited from class org.apache.servicemix.wsn.AbstractPullPoint
createPullPoint
 
Fields inherited from class org.apache.servicemix.wsn.AbstractEndpoint
address, endpoint, manager, name
 
Constructor Summary
JmsPullPoint(String name)
           
 
Method Summary
 Connection getConnection()
           
protected  List<NotificationMessageHolderType> getMessages(int max)
           
protected  void initSession()
           
 void setConnection(Connection connection)
           
protected  void store(NotificationMessageHolderType messageHolder)
           
 
Methods inherited from class org.apache.servicemix.wsn.AbstractPullPoint
create, createAddress, destroy, destroyPullPoint, getCreatePullPoint, getMessages, notify, setCreatePullPoint
 
Methods inherited from class org.apache.servicemix.wsn.AbstractEndpoint
getAddress, getManager, getName, register, setAddress, setManager, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsPullPoint

public JmsPullPoint(String name)
Method Detail

initSession

protected void initSession()
                    throws JMSException
Throws:
JMSException

store

protected void store(NotificationMessageHolderType messageHolder)
Specified by:
store in class AbstractPullPoint

getMessages

protected List<NotificationMessageHolderType> getMessages(int max)
                                                   throws ResourceUnknownFault,
                                                          UnableToGetMessagesFault
Specified by:
getMessages in class AbstractPullPoint
Throws:
ResourceUnknownFault
UnableToGetMessagesFault

getConnection

public Connection getConnection()

setConnection

public void setConnection(Connection connection)


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.