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
166 views Asked by Dhivya Sureshkumar At
1
There are 1 answers
Related Questions in SPRING-INTEGRATION
- Starting first job causes - Dispatcher has no subscribers for channel exception when declared multiple DirectChannels
- Azure Service Bus With Spring Integration Executor Channel Error Handling
- How does taskExecutor with Queue size set work with AcceptOnceFileListFilter filter for file input adapter
- Spring Integration JMS MessageDrivenChannelAdapter connection status
- Spring integration rotating server advice with SFTP outbound gateway
- Spring integration sftp new version upgrade issues
- Spring integration- Add check not to process inbound files older than 2 days and empty file
- JmsOutboundGateway retries to connect to mq -> GatewayReplyListenerContainer refreshConnectionUntilSuccessful (maxAttempts=unlimited)
- RequestHandlerCircuitBreakerAdvice doesn't work if somethings fail in descending Service activator
- Spring Integration and Spring Batch transaction manager collision
- Taking too long to send first message to JMS topic from Spring Integration
- Unable to process failed jobs in spring batch when using remote chunking
- Spring Integration Java DSL with Kafka
- Spring Integration nullChannel reference in Non-DSL
- Spring Integration 6.x http outbound gateway http uri variable expression not evaluating application properties
Related Questions in PCF
- Azure EventHub to publish on Topic deployed in PCF space
- How to read logs from PCF?
- PCF Spring Cloud Config server not fetching properties from bitbucket
- PCF doesn't recognize the spring boot application
- Steeltoe upgrade version 2 to version 3 changes are breaking
- Restarting application instances and evaluating state
- Deploying net core app to pcf: start app timeout with health check 404 failure
- Pivotal cloud foundry still used in 2023?
- Why custom actuator endpoint created using @RestControllerEndpoint are not mapped to /cloudfoundryapplication in pcf?
- Prometheus Query when a service is restarted
- How can i change PCF (pcf-scripts) default port?
- How to extract value from JSON based environment variable in XML file
- Error creating bean with name cloudFoundryDatabaseConfig
- Replace a list value in yaml with yq
- How to Implement a Color Picker for BorderColor Property in React PowerApp Component?
Related Questions in POLLER
- High volume SQS Poller. Lambda v/s ECS Fargate?
- How to resolve Channel 'application.bischannel' has 0 subscriber(s)
- The centreon poller does not run after exporting the configuration
- Can't show file configuration Poller in Centreon
- How to test a poller based db operation service from SOAPUi
- Cron Expression is not working as expected in Spring Boot Application
- Can I make a Poller start his cycle with WAIT after start() command?
- Configure Poller for the specific supplier in Spring Cloud Stream
- Spring Integration Poller not working in Pivotal Cloud Foundry without application restart
- Spring integration inboundChannelAdapter stops polling unexpectedly
- Stop for loop by passing empty struct down channel Go
- Can one SQS poller, handle multiple SQS queues and prioritize it?
- Write to log whenever Spring Integration Poller fires
- Poller Task Executor Memory Leak
- Spring batch job should be executed only once after the spring integration file poller polls the files
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?
Popular Tags
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)
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.