It seem to be a component issue when trying to catch files from a shared
folder (shared windows folder on a remote machine)
Local files (from local folders) are correctly consumed
Hello,
I have in the past successfully used the file component to access a remote
windows share. However when doing so the share will be accessed by the user
that the camel process is running as. So that user needs permission to read
and write on the share. Also it only works when running the came
HI akoufoudakis/Pontus
As I mentioned file was picked up from a shared folder which is present in
my local machine. But same
file:server/sharefiletest?fileName={{filename}}.txt is not working when
server is a remote machine.
Are u saying that in that case I need to use jcifs component right.
As akoufoudakis say the jcifs component behaves like the File2 or FTP component.
You can see some examples in the docs and also the test source code I
send links to earlier.
If you have questions about camel-jcifs please use the camel-extras
mailing list (http://camel-extra.1091541.n5.nabble.com/)
Glad that it works.
As for JCIFS, I've never used it so far.
So, I am not a big helper with specifically this component, unfortunately.
However, you can start reading some docs about
it:http://camel.apache.org/jcifs.html.
They say, that it is an extension of the File2 component, so most probably,
HI
Thanks akoufoudakis, it worked for me as file:server/testDst?noop=true.
aslo can you help me con camel-jcifs also how to use it. If possible please
give some example with explanation.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-
So, having it like this, you don't have to map anything.
You just have to use server name prefixed by four back slashes (equivalent
to two back slashes, but with proper escape characters).
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-fro
Hey!
I just got a "revelation".
It works fine with the server name.
You would normally open a shared folder something like this:
\\server\folder1\folder2.
So, your route should look like:
from(file:server\folder1\folder2?...).to("activemq:...");
Check it. I just tried and it worked.
--
V
Hello, Ajit!
We have a shared location, say "\\server\directory".
This location is mapped in our staging machine as a network drive (e. g.,
W:).
Then, I need to get a file from W:\from.
So, my root is from("file:W:\\from").process(...).to("file:...");
May be, it is not a proper way to process fil
Hi akoufoudakis
Can you give that example. and config needed if any.
My Scenario is in Server1 folder fileLoc is shared one like
\\Server1\fileLoc then from server2 using camel route I need to fetch file
configFile.txt.
I have tried like
Then
I am using back slashes and it works fine.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-location-tp5752233p5752338.html
Sent from the Camel - Users mailing list archive at Nabble.com.
It is not the file but the directory on a shared location, in which you get
this file from.
You can map this directory as a map drive.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-location-tp5752233p5
If you read the documentation there is examples:
from("smb://f...@myserver.example.com/sharename?password=secret&localWorkDirectory=/tmp")
.to("bean:foo");
Also you can have a look at the unit tests.
https://camel-extra.apache-extras.org.codespot.com/git/components/camel-jcifs/src/test/java/org
Hi Pontus
Thanks for your resp. I used forward slash also. but it didnt work for me.
Can you share any examples on camel-jcifs. I couldn't get any.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-locati
Hello,
If I remember correctly you should use forward slashes '/' in the path
when using the file component to access a UNC path on a windows
network.
But I could be wrong. I do not have any windows machines available to test.
Also when using the file component camel will access the share as the
u
Hi I configured my route as bellow
filename=DataMoveCommand
config.fileloc = \\Server\\FileLoc
I mapped shared location \\Remote_Server\\FileLoc as network drive
when I bring my camel context up in logs found like as bellow
Route: route18 st
HI
Are you saying that file in remote machine should be added as network drive
1st and the i need to use file component to pick up. Is my understanding is
correct.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-re
Hello!
For the first scenario, if you want to use the "file" component, you might
want to map your shared location as a network drive and then to use it as
following:
from("file:\\[YOUR_NETWORK_DRIVE]\\[DIR]).to([other_dir]);
To access files on remote servers, I'm afraid you will need to set up F
I mean Shared folder in another machine with in same network.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-location-tp5752233p5752249.html
Sent from the Camel - Users mailing list archive at Nabble.co
Hello, Ajit!
Just to clarify.
In the first scenario do you mean a network drive?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-location-tp5752233p5752247.html
Sent from the Camel - Users mailing list a
I have two scenarios
1. Need to access Shared location in remote machine.
2. Need to access file in remote file system (other than FTP)
Thanks
Ravi
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-loca
Ajit
What do you mean by Remote File Location. Is it on different machine which has
to be accessed thru FTP/SFTP ?
Please elaborate.
From: sakchakravarthi [ajit.kalyan.chakravar...@gmail.com]
Sent: Friday, June 13, 2014 10:59 AM
To: users@camel.apache.org
Yeah you can construct the HL7 message as a String or use the HAPI API
where there is java objects with getter/setters for that.
On Wed, Sep 4, 2013 at 5:10 PM, TechieDeep wrote:
> Thanks for the reply.
>
> I will check and try to work out. I am trying to construct an HL7 message
> from java ob
Hi Claus,
The hl7 camel example expects and inbound message in hl7 (correct me if I am
wrong). I am trying to create an hl7 outbound message using some values
getting from database and sending.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5
Thanks for the reply.
I will check and try to work out. I am trying to construct an HL7 message
from java object having string and list parameters.
Can I do it without using HAPI lib.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5738690.html
Hi
Read on the page, later down there is a little example how to send a
HL7 message (from string) to a hl7 endpoint, at section _More Samples_
The endpoint uses 127.0.0.1 as the hostname, but you can use a remote hostname.
On Wed, Sep 4, 2013 at 4:33 PM, TechieDeep wrote:
> Hi Claus,
>
> The h
Hi
Check the camel-hl7 docs
http://camel.apache.org/hl7
There is some details about setting up a hl7 listener in spring xml.
Then the rest is just a camel spring xml route which there is plenty
of examples on the Camel web site.
On Wed, Sep 4, 2013 at 12:36 PM, TechieDeep wrote:
> Hi Claus,
>
Hi Claus,
I am trying to configure camel setup for hl7 outbound messages using
camel-spring. can you guide me on that or provide me any reference link
which I can use or if you have any example.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p57
As far as I understood from [1], SQL Management Studio is a tool to manage
SQL server. It's not mot possible to "connect" from Camel to such a tool.
If you have problems to connect from SQL Management Studio to SQL Server,
this is simply the wrong mailing list...
[1] http://www.microsoft.com/en-us
hi,christian I am not getting the connection with sql management studio
2008so,i am not getting the connection with it so can u please suggest
the connection string or any better steps to get connection with it...thanx
in advance
--
View this message in context:
http://camel.465427.n5.nab
What's your issue?
Best,
Christian
Sent from a mobile device
Am 27.05.2013 08:45 schrieb "milan777" :
> Please help me to connect the java with sql management studio 2008...thanx
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p573323
Please help me to connect the java with sql management studio 2008...thanx
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5733234.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Milan,
first of all, I do not think that Camel is the issue, since there are plenty of
users using Camel for FTP transactions.
What I can not see, and actually don't want to see is the connect string.
Just allow me, to ask a question regarding the FTP server: Have you tried to
enter a comma
will anyone please find error in this program!!! please i am getting erroe
like could not connect to ftp...i am passing user name and passwords
though...my code is
-FTP client
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOT
Hi Milan,
it is also always a good hint looking at the test cases of a component (e.g.
FTP component).
Have fun,
- Christoph
On May 24, 2013, at 4:29 PM, milan777 wrote:
> Thanksfor ur guidence
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-conf
Thanksfor ur guidence
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5733116.html
Sent from the Camel - Users mailing list archive at Nabble.com.
isben- i am looking for ftp code in apache camel so please is there anyone
post the ftp camel code
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5733108.html
Sent from the Camel - Users mailing list archive at Nabble.com.
27;s up to you now.
Van: milan777 [via Camel] [ml-node+s465427n5733108...@n5.nabble.com]
Verzonden: vrijdag 24 mei 2013 16:18
To: Wuyts Diether
Onderwerp: Re: Camel-configuration
isben- i am looking for ftp code in apache camel so please is there anyone post
the ftp
See the ftp example
http://camel.apache.org/ftp-example.html
Its included in the Apache Camel 2.11 download
http://camel.apache.org/download
On Fri, May 24, 2013 at 4:04 PM, milan777 wrote:
> Thanks to allcan anyone post the camel code instead of my plain java
> code
> please it will be ve
Thanks to allcan anyone post the camel code instead of my plain java code
please it will be very helpful for me as well other user
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5733103.html
Sent from the Camel - Users mailing list archive
website to get you started. Try one
of the examples first.
And then you can start working with the Camel FTP component.
Van: milan777 [via Camel] [ml-node+s465427n5733097...@n5.nabble.com]
Verzonden: vrijdag 24 mei 2013 15:34
To: Wuyts Diether
Onderwerp: Re: Camel-c
This sample isn't camel code...
You're going to want to slowly go through the previous examples and
resources supplied... you can also take a look at this:
http://camel.apache.org/ftp-example.html
On Fri, May 24, 2013 at 6:34 AM, milan777 wrote:
> I am not getting file from the ftp this i
Hi,
Am Fr, 24. Mai 2013, um 15:34, schrieb milan777:
> I am not getting file from the ftp this is my problem and i can show u my
> code also
I don't see anything related to Camel in your code.
Lutz
--
Please do not send me Microsoft Office/Apple iWork documents.
Send OpenDocument instead! h
I am not getting file from the ftp this is my problem and i can show u my
code also
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
public class FileCopier {
public static void main(String
Hi,
Am Fr, 24. Mai 2013, um 13:53, schrieb milan777:
> HIclause thanks for ur information but will u please help for FTP
> transfer in java or apache camel...thanks
The FTP/SFTP/FTPS Component is described here:
https://camel.apache.org/ftp2.html
Do you have a specific problem?
Lutz
--
Ple
HIclause thanks for ur information but will u please help for FTP
transfer in java or apache camel...thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936p5733085.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
You can watch this webinar - Building superior integrated applications
with open source Apache Camel
http://fusesource.com/resources/video-archived-webinars/
There is live demos of how to create a new Camel project from scratch
and have it imported into Eclipse / Fuse IDE.
You can also just s
Is this link sufficient then ?
http://camel.apache.org/walk-through-an-example.html
2013/5/22 milan777
> Thanks clause.but there is not sufficient and simple information i need
> steps for configurating camel into eclipse.. it would be better if u will
> write simple steps or simple code fi
Thanks clause.but there is not sufficient and simple information i need
steps for configurating camel into eclipse.. it would be better if u will
write simple steps or simple code files for "helloworld" or anything in
camel...that will be very helpful for many people as well as me thanx in
adva
Hi
I suggest look at the getting started page
http://camel.apache.org/getting-started.html
And read chapter 1 of Camel in Action to learn more about Camel and
see the simple example in this chapter.
http://www.manning.com/ibsen/Camel_ch01_update.pdf
And also read this article is a great to learn
50 matches
Mail list logo