camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harinair <>
Subject Camel stuck periodicallly - HTTP timeout issue
Date Thu, 21 May 2009 19:49:50 GMT

I am using Camel to send messages from a Queue to external vendors. The
protocol can be FTP/SFTP/HTTP or HTTPS. However sometimes the queue starts
filling up which means that the messages are not getting drained. My feeling
is the connection to a particular external vendor is stuck because the
timeout is not properly set. My DSL is similar to:
    <bean id="dataPushErrorHandler"
        <property name="defaultDeadLetterEndpointUri"
value="seda:routerDeliveryAttempt1Queue" />
        <property name="redeliveryPolicy" ref="dataPushRedeliveryPolicy" />

        <!-- Deliver the Live Data Push - Channel A data -->
        <route errorHandlerRef="dataPushErrorHandler">
            <from ref="routerDeliveryChannelAQueue" />
            <process ref="securityHeaderGenerator" />
            <to ref="routerLogDefault" />
                <xpath resultType="java.lang.String">$routerRoute</xpath>
            <to uri="bean:responseVerificationProcessor?method=process" />

Now my questions is - is there any easy global parameter to set the timeout
for all network operations done by Camel? If there is not is there any way I
can set timeout for FTP/SFTP/HTTP modules? Is it a good idea to add a global
timeout or to use and

Hari Gangadharan
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message