-
Oct 18th, 2008, 02:16 PM
#1
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 ,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules