Hi,

I've start to work to port the features of Lw-container pojo to sm bean, but i've
find a problem.

I've developed and deployed a simple process containing a simple Bean where
i've used the following syntax:

@Resource
  private DeliveryChannel channel;

to get the channel injected to my pojo

The code of the onMessage method looks like:

public void onMessageExchange(MessageExchange exchange)
          throws MessagingException {
      if (channel == null){
System.out.println(" **************** Channel is null ****************");
      }else{
System.out.println(" **************** Channel is not null ****************");
      }
}


I've no problem to deploy this, the problem is that the channel is always null, it means it's not
injected correctly.

Any Idea on that??

Reply via email to