Just wondering the RecursiveLeafOnlyDirectoryScanner have a default lock on a polling directory for listing files ? Is it a good practice to tryClaim (directory) before directory.listfiles...
Type: Posts; User: arungn; Keyword(s):
Just wondering the RecursiveLeafOnlyDirectoryScanner have a default lock on a polling directory for listing files ? Is it a good practice to tryClaim (directory) before directory.listfiles...
My application uses spring JMS Transaction manager and MQ connection factory to achieve transaction rollback and rely on MQ specific backout queue and backout count for replay mechanism.
Now,...
What we are doing is kind of a gateway application to move messages/file from various sources to targets - being file to queue, queue to file, file to ftp ... etc etc
In this particular instance...
I need to set a reply to queue name jms property on an outbound message.
This is, by the way, a standalone java appliction communicating to mq.
I tried using jms:reply-to but then that...
I have tried your catch-error-handling-flow's errors and it worked. So, thank you very much for that.
But my original question is still remains.
For a jms out bound adapter with local session...
so the solution you have suggested to trap those errors caused by my erorr handling - like not able to write the failed message into recoverable/unrecoverable folder due to permission. I am sure I...
I have been working on the problem today as well - trying option.
I have tried the error-channel on jms message driven channel adapter, but the point am stuck now is that - any exception, need not...
I have implemented a basic error handling mechanisum using ErrorMessageExceptionTypeRouterm on errorChannel. I catogarise errors as recoverable and unrecoverable (like validation failures goes to...
Does any one knows how to set this directly or as a workaround to a JMS Header property.
I know that this is kind of a read-only field but my receiver broker flow expects the value to be supplied....
I have been trying to use control-bus. But end up with problems with the expression string to start with. I am trying to see if i could call a method in one of my classes, which will act as an admin...
yes I did now :-)
Before I have heard about message bus. I think thats gone and replaced with control-bus. I Will give it a go and see how it works.
Thanks
jira created : https://jira.springframework.org/browse/INT-1716
I couldnt really find a way to do this (start/stop) for my current project and have been thinking something like this ...
I will...
Is there any examples to see how to use control bus or any alternative options to start and stop or do some maintenance operation on messaging end points?
ok. I will try the suggested options and get back to you.
Thanks
no good -
when I put test/ with localdirectory file:c:/test/out it seems creating a file with .writting and error on console saying test/\filename.xml . server replied 501 invalid file or file...
I have downloaded the 2.0.1 build and am sure that i have got that in my classpath in STS.
please check anything obviously wrong in the attached xml configuration file.
This xml with...
well am not sure this is working - may be something i am doing wrong.
To down load a file all i need is to define the ftp:inbound-channel-adapter
with...
Will do that and update after my test pass.
thanks
No, not for this work - shame I know. The good old ant :-)
is that possible to provide a download link - for 2.0.1 or the nightly build ?
I did and I have done noting different but seems not working
I come across this link.
https://jira.springframework.org/browse/INT-1663
may be i need to wait for a 2.0.1 release - dont know...
Is there a simple ftp file download example to see.
I tried a simple file transfer but the output file written were 0 bytes and INCOMPLETE suffix.
What could be wrong. Any working example...
attached the test prg. the test scenario is to move the source files to the error folder - but not working.
How to configure namespace for ftp adapter in STS 2.5.1 ?
Thanks
I couldnt work out what i am doing wrong.
The flow is to move a set of files (scanner result) from one location to another. so <int-file:inbound> and <int-file:outbound> with a bridge from inbound...