Simples Assim

Posts Tagged ‘Progress FUSE

How to Evaluate XPath Expressions in Custom Processors in Apache Camel 1.6.2

leave a comment »

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);

        ...
      }

    });
  }

}

Written by Fernando Ribeiro

June 21, 2010 at 12:05 am

Posted in Software

Tagged with ,

How to Make HTTP Calls in Apache Camel 1.6.2

leave a comment »

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");
  }

}

http://camel.apache.org/http.html

Written by Fernando Ribeiro

June 20, 2010 at 11:58 pm

Posted in Software

Tagged with ,

Faults vs. Exceptions in Apache Camel 2.0+

leave a comment »

Written by Fernando Ribeiro

June 16, 2010 at 12:11 am

Posted in Software

Tagged with ,

Composed Message Aggregators in Apache Camel

leave a comment »

https://cwiki.apache.org/confluence/display/CAMEL/Composed+Message+Processor

No big issues with aggregation strategies to date.

Written by Fernando Ribeiro

June 15, 2010 at 11:38 pm

Posted in Software

Tagged with ,

Feature Requests for Apache Camel

leave a comment »

Written by Fernando Ribeiro

June 15, 2010 at 11:30 pm

Posted in Software

Tagged with ,

Integrating web services and MTOM with existing applications using FUSE ESB

leave a comment »

Written by Fernando Ribeiro

June 11, 2010 at 11:52 am

Posted in Software

Tagged with ,

List of Type Conversions in Apache Camel

leave a comment »

Written by Fernando Ribeiro

May 31, 2010 at 1:39 pm

Posted in Software

Tagged with ,

Direct vs. SEDA vs. VM Components of Apache Camel

leave a comment »

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

http://camel.apache.org/seda.html

http://camel.apache.org/vm.html

Written by Fernando Ribeiro

May 24, 2010 at 1:38 am

Posted in Software

Tagged with ,

Bug in Progress FUSE 4.1.0.2

leave a comment »

Written by Fernando Ribeiro

April 27, 2010 at 4:01 pm

Posted in Software

Tagged with

Improvement to CamelEdge 1.0

leave a comment »

Written by Fernando Ribeiro

April 13, 2010 at 2:57 pm