JBoss ESB pipeline interceptor triggers multiple times -
i working on project "sniffs" (intercepts) messages being send through esb.
i use jboss 6 esb 4.11. sending both esb-aware , jms messages , works, seems interceptor intercepts every message mulptiple times.
at moment, interceptor class prints concent + other stuff console. when send message, displays sent message multiple times (3 times more specific).
so question is: why?. normal behavior? have no clue mistake be. think 1 of these 2 options:
1) have error in sending class, dont think thats issue, since use 1 serviceinvoker , code similar sample quickstarts. standard output gateway listeners indicate message sent ones... 2) pipeline interceptor intercepts message multiple times, every time @ different stage of pipeline. how test if issue?
my properties file section interceptors looks this:
<properties name="interceptors"> <property name="org.jboss.soa.esb.pipeline.failure.interceptors" value="interceptor.interceptor"/> <property name="org.jboss.soa.esb.pipeline.instantiate.interceptors" value="interceptor.interceptor"/> <property name="org.jboss.soa.esb.pipeline.start.interceptors" value="interceptor.interceptor"/> <property name="org.jboss.soa.esb.pipeline.end.interceptors" value="interceptor.interceptor"/> </properties> i tried delete of properties either doesnt intercept @ or triggers multiple times!
thanks tips!
jbossesb not popular topic here :d
eventually, figured out (i got helped on jboss community forum). problem apparently bug fixed in next version of esb. hope answer helps eventually...
here link bug: https://issues.jboss.org/browse/jbesb-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
Comments
Post a Comment