I have a spring integration poller, that polls a directory in NAS. The poller picks up files perfectly fine when running the application in local. But in PCF, it picks up the file only during application startup or when the app is restarted. I have enabled debug logging for Spring Integration and have verified that the poller is running at the scheduled interval in PCF. But it doesn't pick up the files. The NAS share is bound to the app by SMB Volume Service.Any help is appreciated.
Spring Integration Poller not working in Pivotal Cloud Foundry without application restart
165 Views Asked by Dhivya Sureshkumar At
1
There are 1 best solutions below
Related Questions in SPRING-INTEGRATION
- Custom XML Validator Factory
- spring-integration-dsl-groovy-http return null when i use httpGet method
- having spring integration tcpserver to manage clients and send them messages
- Syntax error on tokens, delete these tokens - kafka spring integration demo application
- how to respond from plain tcp client to MessagingTemplate's sendAndReceive
- How to send basicAck to inbound adapter after publisher confirm from outbound adapter
- Maximum simultaneous connection when using ftp adapter
- Spring Integration: SMTP server
- Spring Integration and returning schema validation errors
- Error handling using poller
- spring-integration Aggregator annontation attributes
- spring-integration end point
- Spring integration FileTailingMessageProducer: Remember current line when restarting
- Send Excel or xls file to remote directory using spring integration
- Which Spring Integration Channel should be used for MQTT
Related Questions in PCF
- Eureka service deployed on PCF de-registers itself automatically after a few hours
- How to start/stop Websphere Message Broker using Java?
- How to configure PCF router for https?
- .net core console application on PCF
- What exactly is the http latency in pivot cloud foundary?
- Which is the correct steeltoe connector for Redis in VMWare(PCF) Application Service
- Pivotal cloud foundry still used in 2023?
- Spring integration jdbc poller thread hangs or polls in consistently
- Enabling Scheduler for spring cloud data flow server in pcf
- xlrd.biffh.XLRDError: Excel xlsx file; not supported
- Convert LINUX CURL command to Cloud PCF CLI command
- How to replace or get VCAP_SERVICES in Kubernetes
- PCF Cloud - want to update Tomcat Max Header Size Parameter
- How to update PATH environment variable while deploying in Cloud Foundry
- blank/white page error in react js app ( stopped working in chrome and edge all of a sudden)
Related Questions in POLLER
- PYTHON: How to receive data continuously from a server that's using zmq Poller?
- What is the meaning of zmq.Poller.poll( 1000 )?
- [Design]: A distributed application with thousands of pollers
- Configure interval based cron in Spring JMS integration
- Spring Integration No poller has been defined for endpoint
- Spring Integration : get poll expression from database
- how to do polling in backbone.js?
- Reading of files with max-messages-per-poll=10 and prevent-duplicates=false
- Spring custom poller using dynamic max message per poll value
- Configure Poller for the specific supplier in Spring Cloud Stream
- Spring Integration Poller not working in Pivotal Cloud Foundry without application restart
- Spring Integration: Stopping a Poller after a fixed duration
- Java: check whether a file has been fully copied using SFTP
- Stop for loop by passing empty struct down channel Go
- Spring integration inboundChannelAdapter stops polling unexpectedly
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I was able to resolve the issue the same day. I was using WatchService which is not expected to work on a mount path in PCF (inotify on linux system). So I updated my poller to use RecursiveDirectoryScanner instead of the WatchServiceDirectoryScanner that is used when UseWatchService is set to true in the poller config.