public class SubscriptionHelper
extends org.apache.camel.support.ServiceSupport
Constructor and Description |
---|
SubscriptionHelper(SalesforceComponent component) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
String |
getEndpointUrl() |
void |
subscribe(String topicName,
SalesforceConsumer consumer) |
void |
unsubscribe(String topicName,
SalesforceConsumer consumer) |
public SubscriptionHelper(SalesforceComponent component) throws Exception
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.ServiceSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.ServiceSupport
Exception
public void subscribe(String topicName, SalesforceConsumer consumer) throws org.apache.camel.CamelException
org.apache.camel.CamelException
public void unsubscribe(String topicName, SalesforceConsumer consumer) throws org.apache.camel.CamelException
org.apache.camel.CamelException
public String getEndpointUrl()
Apache Camel