gnodet wrote:
> 
> < This NPE seems to be caused by the channel property to be null.
> < I think the reason is that the endpoint has not been activated yet,
> which
> < means that you try to send a JBI exchange before the activate() method
> < has been called on the endpoint. You can only send exchanges between
> < the call to start() and stop().  Could you please raise a JIRA ? I guess
> < a meaningful exception would be welcome.
> 
> 

Ok, I try to take my code from the poll method and put it in the start
method, but I get the same result of a null pointer exception at the call to
SendSync. All I did was put this in the start method:

public void start() {
        try {
            
            invokeIdentityService();
        }
        catch(MessagingException e)
        {
        }
    }



-- 
View this message in context: 
http://www.nabble.com/SE-that-continually-reads-and-sends-data-tf3764809s12049.html#a10684333
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to