Questions tagged [poller]

63 questions
14
votes
3 answers

Spring Integration No poller has been defined for endpoint

Hi i am having a hard time solving my xml configuration, here's my spring integration config xml:
Ernest Hilvano
  • 503
  • 3
  • 8
  • 16
5
votes
1 answer

Laravel and AJAX sporadic 401 errors in a poller

I’m coding an auction website in Laravel 5.0 that simulates realtime updates by using an AJAX poller that is executed every 5 seconds. The problem is that my server returns sporadic HTTP 401 status. My route is build like…
Ricardo Isec
  • 93
  • 1
  • 7
5
votes
2 answers

ZeroMQ Poller vs Tornados EventLoop

Design wise and performance wise which approach is recommended for handling multiple Zeromq sockets and why ? Is it true that Tornado's IOLoop used by ZeroMQ hogs less CPU than the Poller used in a while loop for handling multiple sockets ?
crashekar
  • 283
  • 1
  • 6
  • 15
4
votes
1 answer

Spring integration poller triggering with the wrong time interval

Code: https://github.com/giuliopulina/spring-integration-poller I have a problem trying to create a jdbc poller with Spring integration. When i feed the table with new data, the processing is slower than expected: everything works fine, apart the…
Giulio Pulina
  • 344
  • 4
  • 15
3
votes
1 answer

Configure interval based cron in Spring JMS integration

I need to forward message from Queue1 to Queue2 in specified interval but NOT just after the message arrived in Queue1. Below is my config.
CoderTR
  • 500
  • 3
  • 7
  • 19
3
votes
1 answer

Spring Integration - If Poller and TaskExecutor are not in tune then memory leak

In the below 7.1.7 Asynchronous polling section of Spring Integration doc, memory leak might occur if Poller and TaskExecutor are not in tune is explained. But I did not understand…
2
votes
1 answer

Script runned by crontab will no produce data

Using Cacti, I'm trying to run the following command: php poller.php > test.cfg As expected I'm getting the following output : root@SLINUX01:[/usr/local/cacti]$tail -f test.cfg Waiting on 1 of 1 pollers. Waiting on 1 of 1 pollers. Waiting on 1 of 1…
Nicolas Frbezar
  • 497
  • 1
  • 5
  • 24
2
votes
3 answers

Java: check whether a file has been fully copied using SFTP

I have a poller running on a certain directory every 35s. The files are placed in this directory through a SFTP server. The problem is whenever the polling conflicts with the time when a file is being copied. It picks the incomplete file also which…
Arup Mishra
  • 189
  • 2
  • 14
2
votes
5 answers

Best method to write an email poller

I am working on an email polling solution, for a multi-user system. So users can send emails on their respective ids and it would be polled and inserted to a db. There are two options that I am considering: Perl/Unix based email pollers.. A java…
Satya
  • 1,528
  • 1
  • 14
  • 32
2
votes
1 answer

Spring Integration FTP - poll without transfer?

I'd like to utilize Spring Integration to initiate messages about files that appear in a remote location, without actually transferring them. All I require is the generation of a Message with, say, header values indicating the path to the file and…
Jeff
  • 93
  • 1
  • 7
2
votes
1 answer

Spring Integration Custom Poller for Different Events

I need to poll a folder for changes i.e. files added, modified and deleted. If I want to distinguish between the different types of events listed above would I need to implement a custom poller i.e. implement AbstractPoller. I have already…
clD
  • 2,523
  • 2
  • 22
  • 38
2
votes
1 answer

how to do polling in backbone.js?

Hi i am working on a paly2.0 framework application(with java) using backbone.js. In my application i need to get the table data from the database regularly ( for the use case of displaying the upcoming events list and if the crossed the old event…
1
vote
1 answer

Configure Poller for the specific supplier in Spring Cloud Stream

I have an application with multiple suppliers. So, I'm trying to configure fixed-delay for the specific supplier in Spring Cloud Stream. Example: application.yaml spring: cloud: function: definition: produce;produce2 …
Minh Trần
  • 27
  • 1
  • 5
1
vote
2 answers

Spring batch job should be executed only once after the spring integration file poller polls the files

I am trying to poll the files from system folder where one or files may come, for those files, I have to trigger the batch job only once not the number of times equals to the number of files in the folder. In my case my batch is taking care the…
1
vote
1 answer

Difference between fixedDelay() and fixedRate()

What is the difference between Pollers.fixedDelay(5000) and Pollers.fixedRate(5000) in spring integrations Pollers?
Guru
  • 2,739
  • 1
  • 25
  • 27
1
2 3 4 5