org.apache.servicemix.wsn.spring
Class PublisherProxyBean
java.lang.Object
org.apache.servicemix.wsn.spring.PublisherProxyBean
- All Implemented Interfaces:
- org.apache.servicemix.jbi.listener.MessageExchangeListener
public class PublisherProxyBean
- extends Object
- implements org.apache.servicemix.jbi.listener.MessageExchangeListener
A simple bean acting as a WS-Notification publisher.
All messages sent to it will be forwarded to the NotificationBroker as Notify requests.
This beans should be used and deployed onto servicemix-bean as a pojo for a bean endpoint.
- Version:
- $Revision: 376451 $
- Author:
- gnodet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublisherProxyBean
public PublisherProxyBean()
getTopic
public String getTopic()
- Returns:
- Returns the topic.
setTopic
public void setTopic(String topic)
- Parameters:
topic - The topic to set.
start
@PostConstruct
public void start()
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
stop
@PreDestroy
public void stop()
throws javax.jbi.JBIException
- Throws:
javax.jbi.JBIException
onMessageExchange
public void onMessageExchange(javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.messaging.MessagingException
- Specified by:
onMessageExchange in interface org.apache.servicemix.jbi.listener.MessageExchangeListener
- Throws:
javax.jbi.messaging.MessagingException
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.