Home » Tag Archives: Apache Camel (page 3)

Tag Archives: Apache Camel

Circuit Breaker Pattern in Apache Camel

apache-camel-logo

Camel is very often used in distributed environments for accessing remote resources. Remote services may fail for various reasons and periods. For services that are temporarily unavailable and recoverable after short period of time, a retry strategy may help. But some services can fail or hang for longer period of time making the calling application unresponsive and slow. A good ...

Read More »

Event processing in camel-drools

apache-camel-logo

In a previous post about camel-drools I’ve introduced camel-drools component and implemented some simple task-oriented process using rules inside Camel route. Today I’ll show how to extend this example by adding event processing. So how to describe an event? Each event occur at some time and lasts for some duration, events happen in some particular order. We have then a ...

Read More »

Lessons learned: ActiveMQ, Apache Camel and connection pooling

apache-activemq-logo

Every once in a while, I run into an interesting problem related to connections and pooling with ActiveMQ, and today I’d like to discuss something that is not always very clear and could potentially cause you to drink heavily when using ActiveMQ and Camel JMS. Not to say that you won’t want to drink heavily when using ActiveMQ and Camel ...

Read More »

A Camel Demo for Amazon’s Simple Worklfow Service

apache-camel-logo

In a previous post I explained why AWS SWF service is good and announced the new Camel SWF component. Now the component documentation is ready and here is a simplistic fully working demo. It consist of three independent standalone Camel routes: A workflow producer allows us to interact with a workflow. It can start a new workflow execution, query its ...

Read More »

Master/Slave Failover for Camel Routes

apache-camel-logo

One way to implement a master/slave failover pattern is to have a cluster of instances of an application where one instance (the master) is currently active and the other instances (the slaves) are on standby, ready to take over whenever the master fails. Some projects provide this kind of master/slave support out of the box: Creating a failover deployment for ...

Read More »

Building Distributed Workflow Applications on Amazon with Camel

java-interview-questions-answers

Pipeline with SNS-SQS A workflow consist of independent tasks performed in particular sequence determined by dynamic conditions. Very often a workflow represents a business process, for example the order processing steps in a ecommerce store. Amazon Web Services offer various tools for building distributed and scalable workflow applications. One approach for building such an application is to use topics and ...

Read More »

Add Apache Camel and Spring as jboss modules in WildFly

jboss-wildfly-logo

These days I am playing with Wildfly and Apache Camel and Spring. A simple way to communicate between EARs / WARs is using direct-vm component of Camel. There are many ways to achieve this with or without Camel. Camel works like a charm in WildFly without any need for extra configurations. Camel is great!!! In order to avoid pack all ...

Read More »

Camel CXF Service With Multiple Query Parameters

apache-camel-logo

While the awesome Apache Camel team is busy fixing the handling of the multiple parameters in the query, here’s a workaround. Hopefully, this post will become obsolete with the next versions of Camel. (Currently, I use 2.7.5) Problem Query parameters more than 1 is passed as a null value into a Camel-CXF service. Say, if the URL has four query ...

Read More »

Apache Camel – developing application from the scratch (part 2 / 2)

apache-camel-logo

This is the second part of the tutorial where we are creating an invoices processing application using Apache Camel. In case you missed it, be sure to look at the first part. Previously we’ve defined functional requirements for the system, created gateway, splitter, filter and content-based router component. Let’s continue with creating a transformer. 5. Transforming invoices to the payments ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.