Bug 1133853 - [RFE] Add the possibility to define ExchangeInterceptors per wire
Summary: [RFE] Add the possibility to define ExchangeInterceptors per wire
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-26 09:52 UTC by Jorge Morales
Modified: 2021-11-08 10:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-2281 0 Major Open Add the possibility to define ExchangeInterceptors per wire 2014-08-26 09:52:39 UTC

Description Jorge Morales 2014-08-26 09:52:39 UTC
Now, when defining an ExchangeInterceptors in a SwitchYard composite it applies to every wire defined in the composite. This is not ideal as usually you add logic to opt if the processor applies to the specific request. Also, you may want to have same type of request applying different ExchangeProcessor, or have mock implementations injected via @Alternatives in JUnit tests.

ExchangeInterceptors, when defined, could be annotated with the from/to indicate the wire it applies, and should only be injected at deployment time to the appropriate wire. If now, there is a common Processor that executes all defined ExchangeInterceptors, this could be changed to only register the ExchangeInterceptors to the appropriate wire.
It will improve on:
- Usability
- Performance
- Reusability and applications design


Note You need to log in before you can comment on or make changes to this bug.