You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Willem.Jiang" <wi...@gmail.com> on 2010/10/14 11:00:32 UTC

Re: Thread.sleep() problem

There is no Thread.sleep() call in the camel-snmp. So I guess you are telling
the ScheduledPollConsumer's delay time by setting the delay option from URI.

You can find more information about camel-snmp component here[1]

[1]http://camel.apache.org/snmp.html

Willem


ganges_k wrote:
> 
> Hi,
> 
> I am using camel to fetch data from switch using camel-snmp component. It
> is very simple to use and enhance. I have enhanced the snmp4j TableUtils
> in camel-snmp component. I am facing a problem when we ran our application
> where the switches are at remote location. I found that it is problem with
> Thread.sleep();
> When i ran the application locally (means both application & switches are
> at same location), i am able to get the data. But when execute the
> application remotely, i am not able to get the data. For this i have
> increased the sleep time and getting the data from switches. So, is there
> any other way to implement this? or do i need to set some maximum sleep
> time?
> 
> If you have any documentation link which gives information. Please let me
> know i will go through it.
> 
> Thanks in advance.
> 
> Best Regards,
> Gangadhar.Katakam
> 
-- 
View this message in context: http://camel.465427.n5.nabble.com/Thread-sleep-problem-tp3211486p3211658.html
Sent from the Camel - Users mailing list archive at Nabble.com.