Results 1 to 2 of 2

Thread: Error Channel and Task Executor

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Posts
    16

    Default Error Channel and Task Executor

    I am new to Spring Integration and I'm trying to figure out how the error handling works. I have a service method to perform a chunk of work, and this service method can throw an exception. I use a splitter to generate a separate message for each chunk of work to be done, which then gets relayed to my service method via a service-activator. Under "linear" configuration (more on this in a minute), I can see that an exception in the service method gets sent to the error channel. However, I have many chunks of work to be done, and so I use a task-executor with a pool so that the service method is invoked concurrently. Under this configuration, the error channel does not seem to receive any error messages. The way I am drawing this conclusion is because I set up a channel-adapter on the error channel to just print out when a message is received. Is this to be expected?

  2. #2
    Join Date
    Oct 2007
    Location
    London, England
    Posts
    108

    Default

    Thanks for the report this is a bug I have created issue INT-440
    Jonas Partner
    OpenCredo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •