Announcement Announcement Module
No announcement yet.
Spring Batch Admin - failed to send Message to channel 'job-info' Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Batch Admin - failed to send Message to channel 'job-info'

    I have a simple job configuration file - in the spring batch admin sample.

    The sample configuration polls a directory, and launches a job using the 'FileToJobLaunchRequestAdapter'

    The configuration works, it polls for files, launches the job, the job status is set to 'Completed', but the following prints on the tomcat console:

    16:58:38,469 ERROR task-scheduler-9 handler.LoggingHandler:111 - org.springframe
    work.integration.MessageDeliveryException: failed to send Message to channel 'job-info'
    at ssageChannel.send(A

    Caused by: java.lang.IllegalStateException: Dispatcher has no subscribers.

    I am not sure on who uses the 'job-info' channel.

    Probably, there is something wrong in the simple configuration file. I have attached the simple configuration file.

    The 'job-info' channel is defined already as <integration:channel id="job-info" /> in spring batch admin's integration-context.xml and should have been loaded by the Batch Servlet (via servlet-config.xml in web.xml)