- Imagine that there is a
SwitchyYardexchange interceptor and users want to access properties (either defined in
EAP) or defined on the
SCA compisitefrom inside the exchange interceptor. Users are able to access the properties in a normal service bean with
@Property(name="myProperty") private String myProperty;
However this does not work for an interceptor if used like the following in the after method. But all these approaches return
myProperty = exchange.getContext().getPropertyValue("myProperty");
- Is there a way to access properties defined in an exchange interceptor?
- Red Hat JBoss Fuse Service Works (FSW)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.