Looking for an example showing how to INSERT collection or list of objects
using Camel JPA endpoint. I read somewhere (can't find link) if the type
argument for JPA is Collection, JPA automatically performs a batch INSERT on
the objects in the list; is that accurate?
--
View this message in
I am running Camel 2.15.5 and CXF 3.1.5. I have a CXF consumer endpoint that
receives requests in MESSAGE data format. I ran into the following error
whenever a client sent in a request with a null HTTP header (i.e. a header
name is specified but there is no value. It can be any header, e.g.
SOA
Can someone acknowledge that this is a problem or that I am missing something?
Thanks,
Joe
From: "joseph.ka...@gmail.com"
Date: Monday, March 21, 2016 at 11:17 AM
To:
Subject: Re: Problem with CXF Payload Dataformat and Camel 2.16.1
Another look at this, the problem might have been introd
here is the code:
public class AggregationSimple implements AggregationStrategy {
/** Logger de la classe. */
private static final Logger LOGGER =
Logger.getLogger(AggregationSimple.class);
public Exchange aggregate(final Exchange pOldExchange,
final Exchange pNewExchan
What is your aggregation strategy source code. It depends how you
handle it there. S
On Tue, Mar 22, 2016 at 2:38 PM, nuskhu wrote:
> It's a valid endpoint, it's just throwing an exception to check the behaviour
> of the recipiantList :
>
> @Component
> public class ThrowingConsumerB {
>
> pr
It's a valid endpoint, it's just throwing an exception to check the behaviour
of the recipiantList :
@Component
public class ThrowingConsumerB {
private static final Logger LOGGER =
LoggerFactory.getLogger(ThrowingConsumerB.class);
public String sayHello(@Body String message) {
L
No there is an option to ignore invalid endpoints you need to turn on
http://camel.apache.org/recipient-list.html
On Tue, Mar 22, 2016 at 2:11 PM, nuskhu wrote:
> hi,
> I think that i meet a problem with the recipientList when an endpoint throw
> an exception.
>
> this code work :
>
> from("di
I have resolved this issue while adding below dependency
org.apache.cxf
cxf-rt-rs-extension-providers
2.6.1
--
View this message in context:
http://camel.465427.n5.nabble.com/Getting-NO-Messege-Reader-Exception-with-
hi,
I think that i meet a problem with the recipientList when an endpoint throw
an exception.
this code work :
from("direct:rlAggregate").process(
new Processor() {
String destinations = "bean:throwingExceptionConsumerB, bean:consumerC";}
})
.recipientList(header("destinations
Hello,
You can create a processor which moves the file where your want after the first
move (the one that you don't want) has been done, or maybe you don't want the
first move to be done at all?
Nabil Ouazzani
De : fxthomas [felix.tho...@gmail.com]
Envo
Hi,
when using the below URI Camel is logging a warning:
ftp://user@host:21//?binary=false&disconnect=true&eagerDeleteTargetFile=false&fastExistsCheck=true&fileExist=Override&ftpClient.connectTimeout=3&ftpClient.dataTimeout=3&ftpClient.defaultTimeout=3&passiveMode=false&password=aPass&
Do you mean in runtime change the permission depending on the exception
raised. I dont think it will be possible to change in between with a camel
lock in place on that file. I could try though !
--
View this message in context:
http://camel.465427.n5.nabble.com/Not-move-file-on-custom-except
Hi,
Can't you change the permissions of the file to avoid it being written/moved?
With kind regards,
Hans Orbaan
-Oorspronkelijk bericht-
Van: fxthomas [mailto:felix.tho...@gmail.com]
Verzonden: Tuesday 22 March 2016 13:31
Aan: users@camel.apache.org
Onderwerp: Re: Not move file on cu
you are right Claus ! . But I stop the route to avoid that problem (if you
see the stop processor). There will be manual intervention to handle this
exception , thats why i have to keep the file at the same place.
--
View this message in context:
http://camel.465427.n5.nabble.com/Not-move-file
On Tue, Mar 22, 2016 at 1:00 PM, fxthomas wrote:
> hello,
>
> I have a below route configuration, my problem is that I don't want camel
> to move the file to error Or complete folder incase i throw a custom
> exception while processing . But currently it moves the file to complete or
> error if
hello,
I have a below route configuration, my problem is that I don't want camel
to move the file to error Or complete folder incase i throw a custom
exception while processing . But currently it moves the file to complete or
error if I handle the exception true/false. Is there a way to make ca
I can't understand why my tests don't work. I try intercept and skip sending
to endpoint which is bean reference and nothing happens. I'm using version
2.16.2.
test-camel.xml
http://camel.apache.org/schema/spring";>
EndpointBean.java
package com.renc
On Tue, Mar 22, 2016 at 9:06 AM, Thomas Papke wrote:
> Hello all,
>
> I want to share my findings regarding the camel-mina2 component (camel
> 2.16.2). From my understanding, both of them are bugs, but maybe someone
> could provide a feedback and/or create a jira ticket.
>
>
> 1. Thread le
No this is by design the parameters is ordered.
On Tue, Mar 22, 2016 at 8:54 AM, Mithu Tokder wrote:
> Hi,
> I have one question regarding the options provided in endpoint URI.
> I have the following URI in the from() method in my java DSL
>
> ftp://myserver/data/?*username*=xx&*password*=xx&*m
Hello all,
I want to share my findings regarding the camel-mina2 component (camel 2.16.2).
From my understanding, both of them are bugs, but maybe someone could provide a
feedback and/or create a jira ticket.
1. Thread leak for camel-mina2 consumers
The camel-mina2 consumer
(org.apache.
Hi,
I have one question regarding the options provided in endpoint URI.
I have the following URI in the from() method in my java DSL
ftp://myserver/data/?*username*=xx&*password*=xx&*move*
> =../archive/${date:now:MMdd}/${file:onlyname.noext}_${date:now:MMdd}.${file:ext}
where the URI op
21 matches
Mail list logo