2017-03-16 09:30:00 +01:00
|
|
|
package jdocs.camel;
|
2012-07-15 14:12:03 +02:00
|
|
|
//#Oneway
|
|
|
|
|
import akka.camel.javaapi.UntypedProducerActor;
|
|
|
|
|
|
|
|
|
|
public class OnewaySender extends UntypedProducerActor{
|
|
|
|
|
private String uri;
|
|
|
|
|
|
|
|
|
|
public OnewaySender(String uri) {
|
|
|
|
|
this.uri = uri;
|
|
|
|
|
}
|
|
|
|
|
public String getEndpointUri() {
|
|
|
|
|
return uri;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean isOneway() {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//#Oneway
|