public class SubscriptionHelper
extends org.apache.camel.support.ServiceSupport
| Constructor and Description |
|---|
SubscriptionHelper(SalesforceComponent component,
String topicName) |
| 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, String topicName) throws Exception
Exceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.ServiceSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.ServiceSupportExceptionpublic void subscribe(String topicName, SalesforceConsumer consumer) throws org.apache.camel.CamelException
org.apache.camel.CamelExceptionpublic void unsubscribe(String topicName, SalesforceConsumer consumer) throws org.apache.camel.CamelException
org.apache.camel.CamelExceptionpublic String getEndpointUrl()
Apache Camel