ServiceMix 4.0 is a big change compared to ServiceMix 3.x.
We will still support JBI 1.0 of course, but we will leverage OSGi has
much as possible.  This means that the deployment unit will be mostly
an OSGi bundle (instead of SU / SA).
One of the building block of ServiceMix is also Camel which defines
all the routing between endpoints.  These routes are defined as jaxb2
pojos (hence xml too).
So one feature that we need to add is to be able to apply a
"transformation" layer on these routes (on the pojo or the xml model)
to apply some aspects.  Hopefully WS-Policies that we want to apply
could use this transformation layer to apply its policy.
This is AOP at the route level.

Exchange interception should also be possible in an easier way by
registering an ExchangeListener: we need to provide some easy way to
filter exchanges between endpoints (see SM-1064) that we could define
on exchange listeners to filter source endpoint and destination
endpoint.

At the pojo level, I still think plain aop using spring has some
values and should be supported (we don't have much to do afaik).

What kind of use case do you have exactly ?

On 9/25/07, pbudzik <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Are there any concrete plans considering such functionality? I've seen
> something written on WS-Policy.... What is the current status of this ? The
> thing is that sometimes we need trivial functionality
> like catch exchange before processing (to log or do metrics). Sometimes it
> could be nice to have it just after processing is done. The only way to
> achieve that is to use AOP which is invasive (need to have dependencies in
> pom.xml, define pointcuts etc etc). AFAIR Hibernate has such a feature built
> in. I mean assigning the interceptor to object (in our case to any endpoint)
> when interceptor is POJO. There would be no need to deal with
> asm/cglib/aspectj in SU-s.
>
>
> --
> View this message in context: 
> http://www.nabble.com/Interceptors-like-functionality-tf4515215s12049.html#a12878481
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to