hi,
Can any one help me in deciding what to use for parsing and adding
elements in to xml ...whether jaxb or dom or sax or stax or any other
...which is efficient
Thanks,
Naveen
--
View this message in context:
http://camel.465427.n5.nabble.com/whether-jaxb-or-dom-or-sax-or-stax-how-t
hi,
If your input is xml then you need to use unmarshall to convert the xml
to objects.
If that is the case you are trying use unmarshall instead of marshall
Regards,
Naveen
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-convert-xml-inti-csv-file-tp5718703p57
Hi
We dont have that out of the box at Apache. You may google and find
other Camel concepts at for example github, google code etc.
Is there a Java library that can communicate using bluetooth to that device?
I would start by searching for such as library, and then go from there.
On Mon, Sep 1
Hello Claus,
I might not be clear in presenting my problem, I have concurrency for the
second route.
ROUTE_LOCAL :
fileUrl - file:///home/user/domediation
from(fileUrl).noAutoStartup().routeId(localRouteName)
.threads()
.bean(processManager)
.bean(endRo
Created a simple use case for enrichment
http://camel.465427.n5.nabble.com/HELP-required-Camel-XML-Message-Enrichment-td5718525.html
Thanks all,
Naveen Raj Balasubramaniam
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-enrichment-tp5718573p5719073.html
Sent from t
Thanks Christian,
I completed the basic enrichment with a data from a text file which is
inserted into a tag in the xml message.
I used jaxb to create an element
Hi,
If I understand correctly, the onException() defined in the configure method
of a Routebuilder is global across all routes subsequently defined in that
method using the Camel DSL.
Is there a way to make these onException() global across routebuilder such
that I can define in one place something
Here we go - https://issues.apache.org/jira/browse/CAMEL-5536
--
View this message in context:
http://camel.465427.n5.nabble.com/Issue-with-ApnsServiceFactory-tp5717573p5719069.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello Hilde,
I would not say that it is not allowed to have anything between the to and from.
You can still have processors in between and you can send the request
to direct endpoints.
To me it seems like the first route (the one starting with FTP
endpoint) considers that the unit of work is done
Hi,
you may try a custom ExecCommandExecutor, that starts a log reader thread
to track the progress within its execute method.
Regards,
Mitko
On Wed, Aug 29, 2012 at 4:44 PM, Lars Lipinski wrote:
> thank you for your comment, Willem.
> then it's like I figured out and I will develop a custo
Claus Ibsen-2 wrote
>
> On Mon, Sep 10, 2012 at 4:18 PM, mstiller wrote:
>> Hi,
>>
>> i have a Akka-Camel System using Akka 1.3.1 and Camel-Core/Jetty 2.10.1.
>>
>> Created a producer like this:
>>
>> class XyzProducer(name: String, var config: Config) extends Actor ...
>> with
>> Producer
On Mon, Sep 10, 2012 at 4:18 PM, mstiller wrote:
> Hi,
>
> i have a Akka-Camel System using Akka 1.3.1 and Camel-Core/Jetty 2.10.1.
>
> Created a producer like this:
>
> class XyzProducer(name: String, var config: Config) extends Actor ... with
> Producer with Logger {
> val endpointUri = "jetty
Hi,
i have a Akka-Camel System using Akka 1.3.1 and Camel-Core/Jetty 2.10.1.
Created a producer like this:
class XyzProducer(name: String, var config: Config) extends Actor ... with
Producer with Logger {
val endpointUri = "jetty:" + configureEndpointUri(name, config)
info("Configured endpo
Hello *!
My assumption is that when using the option /localWorkDirectory/ it is not
allowed that anything can be placed between from() and to() as the example
will show:
from("ftp://some...@someserver.com?password=secret&localWorkDirectory=/tmp";).to("file://inbox");
Though my case above has sev
Which version of camel are you using?
I just try the below test in the camel trunk the test is passed.
--
Willem Jiang
FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
http://jnn.
Hi, is there an API to connect to bluetooth? I've searched the mailing lists
but cannot find any reference to a bluetooth endpoint.
FYI, my end goal is to send an image to a pogo printer [1]
[1]
http://store.polaroid.com/product/9/538437/CZA-10011/_/PoGo%26%238482%3B_Instant_Mobile_Printer
--
V
It's here[1]
[1]http://svn.apache.org/viewvc?view=revision&revision=1377955
--
Willem Jiang
FuseSource
Web: http://www.fusesource.com (http://www.fusesource.com/)
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
http://jnn.javaeye.com (http://jnn.
Hi Charles,
thanks for giving me that hint. I now installed xmlgraphics-commons as well as
commons-io but now when fop is trying to process the input file no renderer is
found
java.lang.UnsupportedOperationException: Don't know how to handle
"application/pdf" as an output format. Neither an F
it worked. You have to specify a "//" after "file:" otherwise it was not able
to resolve the path.
Thanks for your help.
--
View this message in context:
http://camel.465427.n5.nabble.com/Loading-Camel-Context-from-Spring-XML-tp5719025p5719032.html
Sent from the Camel - Users mailing list arc
Hi
The file component in Camel is configured with a starting directory,
as documented (see big green box)
http://camel.apache.org/file2
So you route should most likely be
Then it will pickup any files you put in the inbox directory.
On Mon, Sep 10, 2012 at 1:14 PM, gsehgal wrote:
> Hi,
>
Hi,
I did that now my XML looks like:
Though even now the routes are not started, I am usingCamel version:
2.9.2 and spring version : 3.0.6. That should be fine right?
Regards,
--
View this message in context:
Hi,
Have you deployed the bundle of Apache XMLGraphics ?
Regards,
Charles
On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun wrote:
> Hi,
>
> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
> error message about a missing class
> Caused by: java.lang.NoClassDefFoundError
Hi
You have set autoStartup=false, which means routes wont be started on
staring CamelContext.
Set the option to true, or remove it (as true is default).
On Mon, Sep 10, 2012 at 12:45 PM, Gaurav Sehgal wrote:
> Hi,
> I have a simple XML file:
>
>
> http://www.springframework.org/schema/bean
Hi,
I have a simple XML file:
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.spri
Hi,
I have a simple XML file:
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.sp
The FTP client library do not support concurrency, so you cannot
download multiple FTP files at the same time.
Read the red box at its documentation page
http://camel.apache.org/ftp2
On Mon, Sep 10, 2012 at 12:08 PM, Nafees wrote:
> Hello All,
>
> I am using thread dsl to implement parallel pro
Hello All,
I am using thread dsl to implement parallel processing in my route.
I have one ROUTE_FTP -- from (ftp).to(fileUrl).bean(endRoute);
I want to use thread dsl .. so that threads pick up files n do processing
simultaneously. With camel , it was so easy to do this.
I created a ThreadPool
Hi,
I'm trying to use camel-fop from within Apache Karaf. But I'm getting an error
message about a missing class
Caused by: java.lang.NoClassDefFoundError:
org/apache/xmlgraphics/image/loader/ImageContext
Apache Karaf is 2.29
Apache Camel is 2.10.0 (I also tried 2.10.1)
features installed are
Willem Jiang,
Could you please let me know where this xpath JUnit test was added? It
would be great if you could let me know the JUnit class name?
setHeader() should be able to take the XPath expression.
> I just add unit test in the camel trunk to show it.
>
> setHeader("foo").xpath("/personFil
Hi,
I am new to Camel.
I am trying to simulate the endpoint using MockEndPoints. The objective is
the mock the endpoint and verify the headers received.
Following is my code: -
import org.apache.camel.impl.DefaultExchange;
import org.apache.camel.test.CamelTestSupport;
public class TestAsyncCa
Claus,
the route policy applies to the route as a whole, does it not? Will
setting a limit of 5 not primarily limit the splitter? I will check it
out... (not within the next two weeks though, unfortunately).
I did not look beyond the policy "Abort" because the online
documentation sais only Abort
31 matches
Mail list logo