2012-07-15 14:12:03 +02:00
|
|
|
package docs.camel;
|
|
|
|
|
//#Producer1
|
|
|
|
|
import akka.camel.javaapi.UntypedProducerActor;
|
|
|
|
|
|
2012-07-23 01:36:12 +02:00
|
|
|
public class Producer1 extends UntypedProducerActor {
|
2012-07-15 14:12:03 +02:00
|
|
|
public String getEndpointUri() {
|
|
|
|
|
return "http://localhost:8080/news";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//#Producer1
|