Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
AndreevYuri
Contributor
Contributor

How to intercept stop bundle event in Talend Runtime?

Hi!

I found bug in tMomInput for IBM Webshpere. When i stop bundle in Talend Runtime the queue connection doesn't interrupt.

That's why i try to find in tMomInputLoop (subcomponent of tMomInput) place where i can handle stop bundle event.
How can i intercept stop bundle event in Talend Runtime for logging or further handling inside a component or otherwise?

Talend 6.0.0 M5
Java 1.8.0_66
Labels (3)
1 Reply
Anonymous
Not applicable

hi,

In theory to intercept bundle events you could implement your own BundleListener or ServiceListener (see https://osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html) and listen to specific services or bundle names.. However - tMomInput is a library, not a bundle, so you may need to do the monitoring outside the Talend flow..

g.