public class EndpointSubscription<T>
extends org.apache.camel.support.ServiceSupport
implements rx.Subscription
Subscription on a Camel Endpoint| Constructor and Description |
|---|
EndpointSubscription(ExecutorService workerPool,
org.apache.camel.Endpoint endpoint,
rx.Observer<? super T> observer,
rx.functions.Func1<org.apache.camel.Exchange,T> func) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.Endpoint |
getEndpoint() |
rx.Observer<? super T> |
getObserver() |
boolean |
isUnsubscribed() |
String |
toString() |
void |
unsubscribe() |
public EndpointSubscription(ExecutorService workerPool, org.apache.camel.Endpoint endpoint, rx.Observer<? super T> observer, rx.functions.Func1<org.apache.camel.Exchange,T> func)
public void unsubscribe()
unsubscribe in interface rx.Subscriptionpublic boolean isUnsubscribed()
isUnsubscribed in interface rx.Subscriptionpublic org.apache.camel.Endpoint getEndpoint()
public rx.Observer<? super T> getObserver()
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.ServiceSupportExceptionApache Camel