Java Code Geeks » Bilgin Ibryam http://www.javacodegeeks.com/ Java 2 Java Developers Resource Center Mon, 27 Apr 2015 04:00:46 +0000 en-US hourly 1 http://wordpress.org/?v=4.2 Apache Camel for Micro¬≠service Architectureshttp://www.javacodegeeks.com/2014/09/apache-camel-for-micro%c2%adservice-architectures.html http://www.javacodegeeks.com/2014/09/apache-camel-for-micro%c2%adservice-architectures.html#comments Mon, 29 Sep 2014 22:00:21 +0000 http://www.javacodegeeks.com/?p=30753 I’ve been using microservice architectures before I knew they were called so. I used to work with pipeline applications made up of isolated modules that interact with each other through queues. Since then a number of (ex)ThoughtWorks gurus talked about microservices. First Fred George, then James Lewis and finally Martin Fowler blogged about microservices making ...

 

]]>
http://www.javacodegeeks.com/2014/09/apache-camel-for-micro%c2%adservice-architectures.html/feed/ 1
Clustered Idempotent Consumer Pattern with Infinispanhttp://www.javacodegeeks.com/2014/08/clustered-idempotent-consumer-pattern-with-infinispan.html http://www.javacodegeeks.com/2014/08/clustered-idempotent-consumer-pattern-with-infinispan.html#comments Tue, 26 Aug 2014 04:00:26 +0000 http://www.javacodegeeks.com/?p=29318 I’ve created a small project that shows how to use JBoss Infinispan with Apache Camel and the Idempotent Consumer Pattern to guarantee a message will not be processed twice in a clustered environment. Imagine you have an application that has to scale out easily by deploying it on multiple containers. But the application has to ...

 

]]>
http://www.javacodegeeks.com/2014/08/clustered-idempotent-consumer-pattern-with-infinispan.html/feed/ 0
Circuit Breaker Pattern in Apache Camelhttp://www.javacodegeeks.com/2014/04/circuit-breaker-pattern-in-apache-camel.html http://www.javacodegeeks.com/2014/04/circuit-breaker-pattern-in-apache-camel.html#comments Tue, 15 Apr 2014 22:00:24 +0000 http://www.javacodegeeks.com/?p=24169 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 ...

 

]]>
http://www.javacodegeeks.com/2014/04/circuit-breaker-pattern-in-apache-camel.html/feed/ 3
A Docker Maven Plugin for Integration Testinghttp://www.javacodegeeks.com/2014/04/a-docker-maven-plugin-for-integration-testing.html http://www.javacodegeeks.com/2014/04/a-docker-maven-plugin-for-integration-testing.html#comments Thu, 10 Apr 2014 04:00:43 +0000 http://www.javacodegeeks.com/?p=23603 What is Docker? Docker is the buzzword that is taking the DevOps world. If you don’t know yet what is Docker, be warned, you will find yourself using it one way or another very soon. The rest of this post assumes some basic understanding of Docker, but if you are not familiar with it now, ...

 

]]>
http://www.javacodegeeks.com/2014/04/a-docker-maven-plugin-for-integration-testing.html/feed/ 0
Software engineering vs Software consultinghttp://www.javacodegeeks.com/2014/02/software-engineering-vs-software-consulting.html http://www.javacodegeeks.com/2014/02/software-engineering-vs-software-consulting.html#comments Wed, 26 Feb 2014 08:00:33 +0000 http://www.javacodegeeks.com/?p=22026 I’ve seen articles with this topic in the past but have to admit to have never read one. If you have, probably you already know which one is the better profession so stop reading this now. If you are still interested, this is my take on the topic. Software engineering Software engineering is great profession. ...

 

]]>
http://www.javacodegeeks.com/2014/02/software-engineering-vs-software-consulting.html/feed/ 0
A Camel Demo for Amazon’s Simple Worklfow Servicehttp://www.javacodegeeks.com/2014/01/a-camel-demo-for-amazons-simple-worklfow-service.html http://www.javacodegeeks.com/2014/01/a-camel-demo-for-amazons-simple-worklfow-service.html#comments Thu, 16 Jan 2014 14:00:28 +0000 http://www.javacodegeeks.com/?p=20446 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 ...

 

]]>
http://www.javacodegeeks.com/2014/01/a-camel-demo-for-amazons-simple-worklfow-service.html/feed/ 0
Master/Slave Failover for Camel Routeshttp://www.javacodegeeks.com/2014/01/masterslave-failover-for-camel-routes.html http://www.javacodegeeks.com/2014/01/masterslave-failover-for-camel-routes.html#comments Sat, 11 Jan 2014 13:00:43 +0000 http://www.javacodegeeks.com/?p=20445 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: ...

 

]]>
http://www.javacodegeeks.com/2014/01/masterslave-failover-for-camel-routes.html/feed/ 0
Building Distributed Workflow Applications on Amazon with Camelhttp://www.javacodegeeks.com/2013/12/building-distributed-workflow-applications-on-amazon-with-camel.html http://www.javacodegeeks.com/2013/12/building-distributed-workflow-applications-on-amazon-with-camel.html#comments Mon, 16 Dec 2013 08:00:19 +0000 http://www.javacodegeeks.com/?p=19656 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 ...

 

]]>
http://www.javacodegeeks.com/2013/12/building-distributed-workflow-applications-on-amazon-with-camel.html/feed/ 0
Transactional caching for Camel with Infinispanhttp://www.javacodegeeks.com/2013/08/transactional-caching-for-camel-with-infinispan.html http://www.javacodegeeks.com/2013/08/transactional-caching-for-camel-with-infinispan.html#comments Fri, 02 Aug 2013 20:27:12 +0000 http://www.javacodegeeks.com/?p=16000 Some time ago I created a Redis connector for Camel. Redis is awesome key-value store (and a lot more) but then I needed a cache running in the same JVM as Camel and noticed Infinispan which has just switched to ASL v2. There are already other connectors in Camel for caching on the JVM, like ...

 

]]>
http://www.javacodegeeks.com/2013/08/transactional-caching-for-camel-with-infinispan.html/feed/ 0
Publish/Subscribe Pattern with Apache Camelhttp://www.javacodegeeks.com/2013/05/publishsubscribe-pattern-with-apache-camel.html http://www.javacodegeeks.com/2013/05/publishsubscribe-pattern-with-apache-camel.html#comments Tue, 07 May 2013 16:00:41 +0000 http://www.javacodegeeks.com/?p=12338 Publish/Subscribe is a simple messaging pattern where a publisher sends messages to a channel without the knowledge of who is going to receive them. Then it is the responsibility of the channel to deliver a copy of the messages to each subscriber. This messaging model enables creation of loosely coupled and scalable systems.     ...

 

]]>
http://www.javacodegeeks.com/2013/05/publishsubscribe-pattern-with-apache-camel.html/feed/ 1