Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey,
i use Talend Open Studio for create bundle for karaf external.
My camel route is very simple : cFile_1 ---> cTalendJob_1 ---> cLog_1
My Job : tRouteInput_1 ---> tXMLMap_1 ---> tRouteOutput_1
now i want deploy into karaf.
right-click on myRoute ---> build route.
i select all ressources (the job in this case)
the build type are by default (ESB Runtime Kar File) ok
but when i go on karaf and install the Kar file, i dont have the job in ESB bundle format ? i have the jar route bundle but not the jar job in bundle .....
and i suppose after talend add maven depedency export job, and in my bundle route maven import the job ?
why ?
thanks a lot.
ok ok ok,
I just saw in the release note of version 7.1.1, on page 9 "The tRunJob is supported with some restrictions" ...
ok Talend has not found a solution, and drops the possibility of calling a job in a camel route.
I will therefore close this question which will never be solved.
Hello,
The Karaf doesn't activate your 2 bundle: the route and the job in the route?
For cTalendJob, have you try to check out "use selected Context", "Use Route Context Name" or "Use Job Context"?
Best regards
Sabrina
Hello, and thks for your reply 🙂
i tried all three.
when build routes and create .kar, the job is in config file (bundle) but is it only standalone .jar and karaf not run this.
or else we have to generate separately (build) jobs (with OSGI bundle output option) and build routes ?
Hello,
Are you able to successfully build your Job as an OSGI Bundle For ESB? Is there any error message in tesb.log?
Best regards
Sabrina
You dont understand my question..
how do you do to build route with all jobs in once.
1) If i right-click on route ? studio must build all correctly route AND jobs in one KAR
and install feature .KAR (route + jobs)
Or
2) click on route -> build route
click on each job -> build job (osgi) seperatly
and after on console karaf install bundle JOBS .JAR ; and install feature .KAR (route)
???
thks
Hello,
After exporting the mediation route, the integration job is included in the .kar file automatically. You can deploy it into the runtime after copying the .kar file to the deploy directory.
Are your able to start your talend runtime?
Best regards
Sabrina
Hello,
i have put file .kar into deploy folder.
and now see this :
1) Bundle_test-feature and want install but :
2) i have into .kar the ressource Bundle_test_job_test.jar
...
thks a lot.
is it a bug ?
Hello,
Would you mind sending your exported job and .kar file to me? I will make a testing on 7.0.1 . Does this issue also repeat on other build version(6.5, 7.0)?
Best regards
Sabrina