Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Deliver your Camel Apps Faster With Fuse Integration Service

DZone's Guide to

Deliver your Camel Apps Faster With Fuse Integration Service

Learn how to deliver Camel apps much quicker using the Fuse Integration Service.

Free Resource

Today’s data climate is fast-paced and it’s not slowing down. Here’s why your current integration solution is not enough. Brought to you in partnership with Liaison Technologies.

The idea for this article came after exchanging with an integration developer, who has told me on her daily:

"We develop our camel routes, we push the code, we set up the job on Jenkins, and we update the deployment job, verify and cleaning instances, monitor all the process...etc." At this moment, I have understood the hard time spent on that task by this integration developer.

Thank goodness, Fuse Integration Service is here, that allow doing the same task easier and faster. On Fuse Integration Service, the developer has to be focused more on his work, the new formula it will be summarized only to {Code - PushRun}.

When the developer pushes his new code, the base of Fuse integration service has the ability to receive code pushing signal and quickly build the application.

Let's try together this example:

First of all, you should install the CDK (Container Development Kit), if it's not the case, follow this guide [CDK].

After successful installation, you will need to clone this project, and to use the OpenShift ("oc") command line tool in order to log in to OpenShift and create a new project:

$ git clone https://github.com/abouchama/fis-createorderservice.git

$ cd fis-createorderservice

$ oc login

$ oc new-project fis-project

$ oc create -f fis-image-streams.json

imagestream "fis-java-openshift" created
imagestream "fis-karaf-openshift" created

$ oc create -f createorderservice-template.json

template "fis-createorderservices" created

After, you should open the OpenShift Console, to create an application to this project  based on the template added "fis-creationorderservices". For that you should click on Add to project:

Image title

Then, we will found the application template that we have created “fis-createorderservices”, you click on it and we will add the Github link of this Camel project, like following:

Image title

When it's done, you will see immediately the build started:

Image title

It'll take a few minutes until the build finished. When the build succeeded, you should be able to see the application up and running in the console:

Image title

If you click on "connect," you will be redirected to the following page:

Fuse web console showing all the Camel applications running inside with real time metricsNow, if we update our Camel project, we have only to do the following commands:

$ git commit -am "changing my camel route"

$ git push -u origin master

$ oc start-build fis-createorderservices -n fis-project

Directly after, we will see a second build started, and after little time, the application will be updated automatically:

Image title

That's all you have to do!

Thanks!

Is iPaaS solving the right problems? Not knowing the fundamental difference between iPaaS and iPaaS+ could cost you down the road. Brought to you in partnership with Liaison Technologies.

Topics:
devops ,paas ,openshift ,integration ,cloud ,fuse

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}