Sorry about that. I remembered late last night that I had forgotten to attach
the version.
I was using 2.3.0 and upgraded to the latest version 2.6.0 before posting.
Thanks for the link.
--
View this message in context:
http://camel.465427.n5.nabble.com/SFTP-trigger-consuming-of-a-file-wont-de
Hi I trying to trigger a archive of a file on a sftp server on demand.
Bascially a message is sent to a queue with a filename, that file is then
consumed and should be sent to an archive folder on the sftp server.
It appears that it will not work in case 2 but does work in case one.
I've setup
My mistake. Just noticed the typo.
String url =
"sftp://test@$127.0.0.1?knownHostsFile=c://known_host&password=pass&binary=true&fileName=";
+ filename;
should have been
String url =
"sftp://test@127.0.0.1?knownHostsFile=c://known_host&password=pass&binary=true&fileName=";
+ filename;
I also
I'm trying to consume a file from SFTP server that is triggered from a jms
route.
I've dont this successfully via ftp but it is complaining of missing host
parameter when I try consuming from sftp.
Here's my code.
from("activemq:queue:sftpArchive").process(new Processor() {
public void p
Thanks for your suggestions , I will give them a try.
I did find that adding maxReconnectAttempts to the failover protocol would
allow an error to be thrown after a number of failed reconnect attempts.
Our users just wanted some indication that the activeMq service had not been
started.
The serv
I'm using camel 2.4 and activemq 5.4.0
--
View this message in context:
http://camel.465427.n5.nabble.com/How-do-I-Detect-ActiveMq-Broker-down-tp3297755p3297764.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I'm trying to detect if the broker is available before I publish a message
onto a queue.
First attempt was to add a TransportListener as follows
[code]
I'm no expert but I think it would block.
The InOnly tells the activeMq queue that it does not require a reply
(response).
Can you post your testMethod()
--
View this message in context:
http://camel.465427.n5.nabble.com/InOnly-exchangePattern-tp3028284p3046230.html
Sent from the Camel - Users
I solved one of the issues but one exception remains.
http://activemq.2283324.n4.nabble.com/statisticsBrokerPlugin-error-td2716123.html#a2719707
http://activemq.2283324.n4.nabble.com/statisticsBrokerPlugin-error-td2716123.html#a2719707
--
View this message in context:
http://camel.465427.n
What folder does userid from sftp://use...@dev_server map to on your sftp
folder?
and does it have a folder tmp/camel_ftp_test
ie. userid maps to c:\\myfolder
Then you would have a folder
c:\\myfolder\\tmp\camel_ftp_test
also check that you have the correct permission set up for that user, t
I've raised a query on the ActiveMq forum that could be a camel issue.
http://activemq.2283324.n4.nabble.com/statisticsBrokerPlugin-error-td2716123.html#a2716123
http://activemq.2283324.n4.nabble.com/statisticsBrokerPlugin-error-td2716123.html#a2716123
I've followed the instructions based on
I'm having difficultly in visualing this task. Here is what I'm trying to do.
I have a contest object that is put onto a queue, this object has an image
associated with it.
The imageProcessor bean is a swing application. Where the user will modify
the object and finally accept/reject the image.
Hi Norman
Did you get anywhere with a patch?
--
View this message in context:
http://camel.465427.n5.nabble.com/ActiveMQ-component-and-StreamMessage-BlobMessage-tp472755p2265031.html
Sent from the Camel - Users mailing list archive at Nabble.com.
t; wrote:
>> On Wed, Apr 21, 2010 at 3:31 AM, watcher wrote:
>>>
>>> I tried upgrading to jcraft v0.1.42 but the problem still exists.
>>>
>>> I can recreate the problem by copying a large file > 1MB onto the Sftp
>>> server, and keeping the file
o test with latest code on your system?
>
>
>
> On Wed, Apr 21, 2010 at 6:13 AM, Claus Ibsen
> wrote:
>> On Wed, Apr 21, 2010 at 3:31 AM, watcher wrote:
>>>
>>> I tried upgrading to jcraft v0.1.42 but the problem still exists.
>>>
>>> I c
jar. v0.1.42 is out and we
> have upgraded to that in Camel 2.3.
> Camel 2.2 was using 0.1.40.
>
>
> On Thu, Apr 15, 2010 at 4:21 PM, watcher wrote:
>>
>> Hi Claus
>>
>> Thanks for the quick reply.
>>
>> The status code 3 is SSH_ERROR_PER
ou then want to
> download.
>
> Its actually best to let the other party write to another directory
> and then when the file is complete, move it in place.
> Or write using a temporary filename, and then rename when write is
> complete.
>
>
>
> On Thu, Apr 15, 201
Apache Camel 2.2
Windows Server 2003
I'm running an application that polls an SFTP server. I works to a point but
after some time the applications fails trying to get an exclusive lock on
the file. Whick seems to indicate that it is a permission problem. However
restarting the application (camel)
er("myfile"))
.pollEnrich("ftp://ad...@localhost:21/getme?password=admin&binary=false";)
.to("mock:result");
Claus Ibsen-2 wrote:
>
> On Sun, Feb 21, 2010 at 4:17 PM, watcher wrote:
>>
>> > uri="ftp://ad...@127.0.0.1?password=pass&bina
Try setting name like this
message.setHeader(Exchange.FILE_NAME, filename);
--
View this message in context:
http://old.nabble.com/Naming-your-file-with-org.apache.camel.file.name-tp27652312p27676753.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ftp://ad...@127.0.0.1?password=pass&binary=true"/>
from("activemq:queue:printers")
// set the filename in FILE_NAME header so Camel know the name of the remote
file to poll
.setHeader(Exchange.FILE_NAME, header("filename"))
.pollEnrich(ftpRepository.getEndpointUri())
.to("file://c://fileserver//o
I'm looking to archive file(s) which are triggered by an jms message.
However it seems to ignore the file option "delete=true" and the file is not
deleted after it is consumed.
from("activemq:queue:fileArchive").process(new Processor() {
public void process(final Exchange
22 matches
Mail list logo