I've create a JPA consumer using the following URI:
jpa://com.lynden.peoplenet.Locationhistory?consumer.namedQuery=Locationhistory.findUnprocessed&consumeDelete=false&persistenceUnit=PN-SQL-Local
I have also added an @Consumed method to the
com.lynden.peoplenet.Locationhistory class. The process
Hi Friends,
Here is my scenario,
I consumed a queue A and sending to processor to process and send messages
to many routes.
my Processor is using producertemplate to send message to different routes
based on condition.
getting NPE when I am calling producer.send() below is the snippet Any
sug
just a minute.
but this is likely to be not a camel issue but a cxf issue.
so could you wait a little bit.
thanks
2014-06-13 20:39 GMT+02:00 Aki Yoshida :
> hi yuncil,
>
> i didn't believe it first. ;-)
>
> but indeed, i see a bogus envelope gets accepted. (but haven't had
> enough time to look
hi yuncil,
i didn't believe it first. ;-)
but indeed, i see a bogus envelope gets accepted. (but haven't had
enough time to look into it)
when the namespace is wrong, the request gets rejected, but when only
the element name is wrong, it gets processed.
we should fix this issue.
could you open a
There is a "SendBodyAndProperty" (singular.)
This is a "SendBodyAndHeader" (plural)
Why is there no plural version of the properties?
Send an email to users-unsubscr...@camel.apache.org (as long as you're
sending from the subscribed account). You'll get back an email asking
you to reply to confirm you want to leave.
On Fri, Jun 13, 2014 at 1:27 PM, Sealfon, Rebecca
wrote:
> Hi,
>
> Sorry to spam. I've deleted my account but
Hi,
Sorry to spam. I've deleted my account but am still getting these Camel
related emails. How can I be removed from this list?
Thanks,
Rebecca
In addition to what Jan has already said, maybe you want to go through the
following blog post to get a better understanding about this example:
http://saltnlight5.blogspot.ch/2013/08/getting-started-with-apache-camel-using.html
Babak
Licia wrote
> Thanks a lot ! It works now, I mean nothing ge
Have a look at slide 16 in [1]. You can find the source code at [1].
As Claus wrote, getting the write lock to update the file - line by line -
is not really efficient. Aggregate some lines before your update the file
or use the stream component.
I could achieve to write more than 15.000 lines (140
This main class invoked the run(String[]) method defined in the superclass
org.apache.camel.spring.Main. Without reading that I guess it defines/loads
the routes
and starts the camel context.
Reading the files is done by the file-component ...
Jan
> -Ursprüngliche Nachricht-
> Von: Licia
Thanks a lot ! It works now, I mean nothing get to be print on the console.
But what I'm wondering is the following.
I don't really understand how the Main class works. It just goes :
public class Main extends org.apache.camel.spring.Main {
public static void main(String... args) throws Exc
This is part of how Apache OpenJPA has been setup for this example, so if you
don't want to see those logs then just tweak the logging configuration a
bit:
https://github.com/apache/camel/blob/master/examples/camel-example-etl/src/main/resources/META-INF/persistence.xml#L27
E.g. set all the level
Thanks for explanation. I updated the wiki ;)
Jan
> -Ursprüngliche Nachricht-
> Von: Babak Vahdat [mailto:babak.vah...@swissonline.ch]
> Gesendet: Freitag, 13. Juni 2014 13:15
> An: users@camel.apache.org
> Betreff: Re: AW: Problem with ETL example
>
> No, the file consumer makes use of
First of, thank you for your answer.
But the thing is the probleme is not "really" solved because after i
compiled using your tip, the console is still running on and on again, but
with a different type of message that I understand even less than before...
26626 camel TRACE [Camel (camel) th
No, the file consumer makes use of the memory based Idempotent Consumer here.
No matter if you make use of noop true/false it will consume each file
*only* once. Change noop to false or remove it and you will not see any
change in the behavior of the second route. The first route will *always*
cons
from("file:src/data?noop=true")
.convertBodyTo(PersonDocument.class)
.to("jpa:org.apache.camel.example.etl.CustomerEntity");
// the following will dump the database to files
from("jpa:org.apache.camel.example.etl.CustomerEntity?consumeDelete=false&de
lay=3
Hi
The reason for the same logs you see is because of the consumeDelete option
being set to false:
http://camel.apache.org/jpa.html#JPA-Options
So that the JPA consumer polls the *same* 2 entities again and again. This
is just for the demonstration purpose so that you can continuously see
someth
Hello,
most of our routes contain a split with bean functionallity.
For example:
.split().method(Myclass.class.getName(), "method")
or
.split(bean(MyClass.class.getName(), "method"))
Sometimes we got strange behavior in this routes and now I've found why:
Although the bean MyClass was given to t
In my route i have this:
.onException(Exception.class).process(new Log()).end()
That calls this bean:
public class Log extends Exception implements Processor {
public static final String ROUTING_KEY = "datacentral";
@Override
public void process(Exchange exchange) throws Exc
Hi everyone,
I'm all new to Camel and after getting documentation, I went directly to the
ETL example because it really looks like what I'm trying to do.
So I just did mvn compile, which worked (everything did in the directory
where the POM is).
And then I tried mvn camel:run and I get a probl
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
Deciding which is the best path for your case is difficult without
knowing the exact requirements.
I can give you some pointers from my own experience though.
The most important advice is to separate your business code from any
integration framework you use.
If you just need to call webservi
I jump on the thread to make a little advertisement about one of my
company's (Obeo) product that can really help JBoss tools developpers.
We're open-sourcing our diagram modeler in the next Eclipse Luna: Eclipse
Sirius.
It's a GMF overlay that ease the development of diagrams (and as I'm daily
wor
Cool!
Thank you Claus, I never found this page!
As always, you're the man :).
Regards,
2014-06-13 10:06 GMT+02:00 Claus Ibsen :
> Hi
>
> Fuse IDE website is here now
> http://tools.jboss.org/features/apachecamel.html
>
> And you can read from this FAQ how to install it, eg the Camel tooling
> i
Hi
Fuse IDE website is here now
http://tools.jboss.org/features/apachecamel.html
And you can read from this FAQ how to install it, eg the Camel tooling
is in the jboss integration stack
http://tools.jboss.org/documentation/faq/
I think the update url is
https://devstudio.jboss.com/updates/7.0/in
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
I am using spring DSL with the following set.
http://camel.apache.org/schema/spring";
autoStartup="${autoStartup}">
There are two ways I have used for starting and stop, because I have been
playing around with it. I not to what the difference is between them they
should give m
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
Hi Camel riders!
We can see on the RedHat site that Fuse IDE no longer a license for use.
I crawled all over the doc to find links to update site, but all the given
URL points to wrong location.
Can someone tells me where I can find FuseIDE update site URL? Or should I
build it from Github?
Best
Hi,
I have the following route:
from(mina_from_endpoint_url)
.logProcessor()
.routeId(registrationRouteId)
.initFlow(groupName, appRegErrorUri)
to('direct:mina-received-registration')
from('direct:mina-received-registration')
.convertBodyTo(String.class)
.noValidateHL7()
.process(
Thank you both for the replies!
Andy
--
View this message in context:
http://camel.465427.n5.nabble.com/Logical-Units-of-Work-tp5752206p5752243.html
Sent from the Camel - Users mailing list archive at Nabble.com.
31 matches
Mail list logo