Best practice Talend ESB

Highlighted
Eight Stars

Best practice Talend ESB

In Talend for ESB, you can export a job either as standalone (with(out) context scripts & etc) or as an OSGi bundle to be deployed in the karaf container. I am working in the OpenStudio, the following question apply for the second option.

  • How do we manage logs ? By default all output are logged in Runtime_ESBSE/container/log/tesb.log. How do I customize this for a project ? per bundle ?
  • How do I share a single context file among multiple bundles ? I am aware that if you have deployed a bundle as "foobar.jar", you need to create a foobar.cfg file in container/etc. But what if want to share a general.cfg ?
  • Is it best practice to design a stateful webservice in ESB ?
  • Something you think is worth to be mentioned regarding the mediation components ? like why would you use a route instead of a job ?

Thanks for your contribution.

Tags (2)
Community Manager

Re: Best practice Talend ESB

I will answer in-line below.....

 


@navds wrote:

In Talend for ESB, you can export a job either as standalone (with(out) context scripts & etc) or as an OSGi bundle to be deployed in the karaf container. I am working in the OpenStudio, the following question apply for the second option.

  • How do we manage logs ? By default all output are logged in Runtime_ESBSE/container/log/tesb.log. How do I customize this for a project ? per bundle ?

You can still use the AMC (Activity Monitoring Console) in the OSGI container, if you are talking about simply running jobs (not services or routes). If you want logs for your jobs, it might be good to try that.

  • How do I share a single context file among multiple bundles ? I am aware that if you have deployed a bundle as "foobar.jar", you need to create a foobar.cfg file in container/etc. But what if want to share a general.cfg ?

Again, if you are using jobs (not routes or services) you could try using the Implicit Context Load to solve this. I am currently writing a multi-part blog on this here (https://www.talend.com/blogger/rhall). You may want to wait for part 3, but part 2 may help.

  • Is it best practice to design a stateful webservice in ESB ?

I'm not sure I understand this question. If you need to write a stateful service, you can do it with the ESB. Typically you would use a SOAP service, but in theory you could use SOAP or REST.

  • Something you think is worth to be mentioned regarding the mediation components ? like why would you use a route instead of a job ?

Jobs are typically batch (they start and end), routes are always on. This very much changes the way you have to think about them

Thanks for your contribution.


 

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read