What i did:
i have an http-service-unit that look like this:
<http:endpoint service="ns0:Catalog"
                endpoint="ns0:ServiceCatalogPort"
                role="provider"
                locationURI="http://windows2003/services/";
                 />
<http:endpoint service="meins:Catalog" endpoint="meins:ServiceCatalogPort"
                 role="consumer"
                 locationURI="http://johannes:8181/services/";
                 />
now i want camel to route from the provider to the consumer:
from("jbi:endpoint:ns0/Catalog/ServiceCatalogPort")
.to("jbi:endpoint:meins/Catalog/ServiceCatalogPort");
It doesnt do anything :-(


   from("http://localhost:8080/MyService";).
      choice().
         when( xxx ).to("direct:xxx1").
         when( xxx ).to("direct:xxx2").
         otherwise().to("direct:xxx3");
  from("soap:direct:xxx1").xxx
  from("soap:direct:xxx2").xxx
  from("soap:direct:xxx3").xxx
Can you explain that? The "from("http://localhost:8080/MyService";)" will open an endpoint? or do i have to configure one as i did above? Whats direct all about?

thanks, Johannes

Reply via email to