Hi everyone.

I've got a servicemix-bean endpoint annotated with @Resource to obtain
the DeliveryChannel. It's been working perfectly until I added the
@Transactional annotation to it's interface. Now I keep getting a
NullPointerException everytime I try to access the DeliveryChannel.
Has someone had any similar problem? I guess it must be because of the
proxy created to allow the transactability. Will I have to create the
transactions explicitly in the code or is there any way to let both of
these annotations live together?

I guess someone must have come across this issue before, because I
consider transactions to be a quite common part of any real-life
application.

Thanks in advance.

Sebastian Gomez.

Reply via email to