Posts Tagged ‘Progress FUSE’
How to Evaluate XPath Expressions in Custom Processors in Apache Camel 1.6.2
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.builder.xml.Namespaces;
public final class SampleRouteBuilder extends RouteBuilder {
private static final Namespaces NS = new Namespaces("Sample", "http://fernandoribeiro.eti.br/Sample");
@Override
public void configure() throws Exception {
from(...).process(new Processor() {
public void process(final Exchange exchange) {
final String str = (String) NS.xpath("/Sample:Element", String.class).evaluate(exchange);
...
}
});
}
}
How to Make HTTP Calls in Apache Camel 1.6.2
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.http.HttpMethods;
import org.apache.camel.component.http.HttpProducer;
public final class SampleRouteBuilder extends RouteBuilder {
@Override
public void configure() throws Exception {
from(...).setHeader(HttpMethods.HTTP_METHOD, HttpMethods.GET).setHeader(HttpProducer.HTTP_URI, "http://www.fernandoribeiro.eti.br").to("http://host");
}
}
Faults vs. Exceptions in Apache Camel 2.0+
Composed Message Aggregators in Apache Camel
https://cwiki.apache.org/confluence/display/CAMEL/Composed+Message+Processor
No big issues with aggregation strategies to date.
Feature Requests for Apache Camel
Integrating web services and MTOM with existing applications using FUSE ESB
List of Type Conversions in Apache Camel
Direct vs. SEDA vs. VM Components of Apache Camel
Direct - Synchronous calls to routes in the same context and VM
SEDA - Asynchronous calls to routes in the same context and VM
VM - Asynchronous calls to routes in other contexts in the same VM
http://camel.apache.org/direct.html
Bug in Progress FUSE 4.1.0.2
Fixed in 4.2.

