public class SynapseEventSource extends SynapseMessageReceiver
Constructor and Description |
---|
SynapseEventSource(String name) |
Modifier and Type | Method and Description |
---|---|
void |
buildService(org.apache.axis2.engine.AxisConfiguration axisCfg) |
void |
dispatchEvents(MessageContext msgCtx)
Public method for event dispatching, used by the eventPublisher mediator and eventSource
|
String |
getConfigurationProperty(String name) |
String |
getFileName() |
String |
getName() |
org.wso2.eventing.SubscriptionManager |
getSubscriptionManager() |
boolean |
isContainsConfigurationProperty(String name) |
void |
putConfigurationProperty(String name,
String value) |
void |
receive(org.apache.axis2.context.MessageContext mc)
Override the Message receiver method to accept subscriptions and events
|
void |
setFileName(String fileName) |
void |
setName(String name) |
void |
setSubscriptionManager(org.wso2.eventing.SubscriptionManager subscriptionManager) |
public SynapseEventSource(String name)
public String getName()
public void setName(String name)
public org.wso2.eventing.SubscriptionManager getSubscriptionManager()
public void setSubscriptionManager(org.wso2.eventing.SubscriptionManager subscriptionManager)
public String getFileName()
public void setFileName(String fileName)
public void buildService(org.apache.axis2.engine.AxisConfiguration axisCfg) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void receive(org.apache.axis2.context.MessageContext mc) throws org.apache.axis2.AxisFault
receive
in interface org.apache.axis2.engine.MessageReceiver
receive
in class SynapseMessageReceiver
mc
- message contextorg.apache.axis2.AxisFault
public void dispatchEvents(MessageContext msgCtx)
msgCtx
- message contextpublic boolean isContainsConfigurationProperty(String name)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.