Announcement Announcement Module
Collapse
No announcement yet.
Timeout MessageDeliveryException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Timeout MessageDeliveryException

    Hi guys,

    Iím planning to use SI for one of our framework, but we are restricted not to use Annotations, so I have to do all configurations using XML. When I worked with simple examples I encounter following problems.

    When I worked with several target-adapters I got following error message.

    WARNING: failure occurred in messaging task
    org.springframework.integration.message.MessageDel iveryException: unable to send reply message within alloted timeout of 1000 milliseconds
    at org.springframework.integration.endpoint.DefaultMe ssageEndpoint$EndpointReplyHandler.handle(DefaultM essageEndpoint.java:328)



    1.) How can I time out for <target-adapter> element Ö? And is it possible to have infinite timeout..?

    2.) I havenít define any DefaultErrorChannel in context file , Iím also getting following message

    WARNING: DefaultErrorChannel has reached capacity. Are any handlers subscribed?

    How can I set the capacity of Channel..?



    This is the part of my context file.

    <channel id="in1"/>
    <channel id="out1"/>

    <endpoint input-channel="in1" default-output-channel="out1"
    handler-ref="service1" handler-method="doService" />

    <target-adapter channel="out1" ref="reciver" method="print" />



    Hope someone can point me to right direction


    Thanks ,
Working...
X