Thanks, this works fine.
Then I only have to propagate the errors to the aggregator and let them
throw an exception there.
On 04/18/13 15:28, Claus Ibsen wrote:
The key is only being added as closed when the aggreaged exchange has
been completed. So if the strategy throws an exception then its
Maybe something like
On Fri, Apr 19, 2013 at 7:07 PM, javamonkey79 wrote:
> Is there any way to do this with a hybrid approach? e.g. Somehow set the
> filename as a property in the java code and then use that in the Spring
> DSL? If not, how would I get started on doing this in Spring D
Hi
CamelExecutionException is usually thrown if you use the producer template api.
On Sun, Apr 21, 2013 at 3:08 PM, helander wrote:
> I would appreciate some assistance regarding how to handle received Soap
> Faults when using the camel-soap component.
>
> I am using SoapJaxbDataFormat and Serv
Hi,
How to set a dynamic value as a parameter to an endpoint?
Payload :
john
9876543210
route :
http://localhost:8092/test/"/>
//person/acno
//person/name
https://server/rest/services/test?accountno=${propert
Hi
See this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
On Mon, Apr 22, 2013 at 10:51 AM, srinia...@gmail.com
wrote:
> Hi,
> How to set a dynamic value as a parameter to an endpoint?
>
> Payload :
>
> john
> 9876543210
>
>
> route :
>
> http://localhost:8092/test/"
Hello Camel Gurus,
I’m trying to process all the files in the directory using the routes below.
File processing is triggered by the user.
The problem I’ve faced is the following: when an exception happens during files
processing, all the files are considered to be failed (even if some of them
w
Hi,
no I don't use ByteBuffer as body type. The easiest example what I did is
to create the following route:
Just route it from on port to another port on the same host. Nothing
between it.
The MinaUdpProtocolCodecFactory on the consumer side decodes it from an udp
datagram to a byte[
Hello,
Camel (2.11) consuming remote files via SFTP, e.g.:
from: sftp://localhost//home/user/
to: file://tmp/
... for a source file "dir1/file1" creates the target file
/tmp/home/user/dir1/file1. Can I somehow omit the source starting path
(/home/user). The file component obviously behaves diffe
Hi
Yeah udp should keep the data as byte[]. Fell free to log a JIRA and
work on a patch.
eg just change to use byte[] as that makes the most sense for UDP.
On Mon, Apr 22, 2013 at 11:16 AM, Thomas Termin wrote:
> Hi,
>
> no I don't use ByteBuffer as body type. The easiest example what I did is
>
Hi Claus,
Thanks for your reply.
I want take the parameter value from the payload.
-vas
--
View this message in context:
http://camel.465427.n5.nabble.com/xpath-value-as-a-parameter-to-an-endpoint-tp5731216p5731226.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I am pretty new to camel. I am using camel 2.4.
I want to aggregate different file format (.pdf,.xml..txt) from same source
(user/dir1) and
then I need to process .xml file what i got after aggregation
and then move all the files into a different directory.
The problem i am facing is I dont
Hi,
I try to understand how to handle with errors in messages within a camel
route.
I have the following route in a Camel context component:
FailureReceiveProcessor fails = new FailureReceiveProcessor();
onException(MessageReceiveException.class).handled(false).process(fails);
onEx
Hi,
I'm not sure what you are asking about. You may provide some route code
you already have.
The first route you will need is the polling of the file and decission
what kind of file has been found (pdf, txt, xml)
Handle that files in different routes and bring them to the same format.
Sen
Hello,
Is the camel-osgi bundle deprecated ? - The latest version I can find is
2.3.0.
I was trying to create a Camel Context in Java with the
OsgiDefaultCamelContext(bundleContext),
but then my container complains about org.apache.camel.core.osgi not being
found as an import.
Thanks and best r
I am using v2.10.3.
I am writing an integration test and need to simulate a database exception
after consuming from a JMS queue like so:
from("jms:testQueue").to("mock:test");
mockTest.whenAnyExchangeReceived(new Processor() {
public void process(final Exchange exchange) throws Exception {
Hi,
you'll need to switch to camel-blueprint, that'll work better for you.
regards, Achim
2013/4/22 Andreas Gies
> Hello,
>
> Is the camel-osgi bundle deprecated ? - The latest version I can find is
> 2.3.0.
> I was trying to create a Camel Context in Java with the
> OsgiDefaultCamelContext(b
Hello,
I`m using camel ver. 2.10.4 and I want to create web service by using CXF
(contract-first approach) and I have two method (Add & Remove) in single
WSDL:
http://www.test.com/nest/schemas/AdditiveRole";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
Hi
Sounds like the message broker redeliveries the message up til X times
before moving the message to its DLQ.
If you use Apache ActiveMQ then it does that by default
http://activemq.apache.org/redelivery-policy.html
On Mon, Apr 22, 2013 at 12:39 PM, berhack wrote:
> I am using v2.10.3.
>
> I
Thanks Marco,
But your solution wont solve my problem.
the problem is
Like i have several user account in one folder called inbox(user1 ,user2,
user3) and each user have some files .
User1(a.xml,a.txt,a.pdf, any other documents which i have no information ).
and I want to processed all the user
Hi,
Yes, that does the trick. My mistake was that I tried to create the
CamelContext in Java.
Now I am creating it via blueprint and inject a RouteBuilder.
Thanks
Andreas
Andreas Gies
WoQ Way of Quality UG
http://www.wayofquality.de
Geschäftsführer & CTO
eMail: andr...@wayofquality.d
Hi
What OS, JDK, and JAXB version do you use?
And have you added saxon to the classpath, eg using camel-saxon. Saxon
is usually faster and better as xpath than what comes out of the box
from the JDK.
On Fri, Apr 19, 2013 at 9:32 PM, gmdavidson62 wrote:
> We randomly get the following error duri
I am using Camel within a web-application running on WebSphere
Application Server v7.
I am using a Camel Timer with a 1 second poll cycle. Originally I was
using Camel 2.9.1, upgraded to 2.9.6 to see if that would make any
difference.
Observed behaviour is that when run on Windows, all works per
Just to check if I understand you right:
Do you mean, my route should look like
from("cxf:XXX?wsdlURL=YYY&...")to(...)...to("cxf:${header[ReplyTo]}?wsdlURL=YYY&...&synchronous=true");
instead of
from("cxf:XXX?wsdlURL=YYY&...")to(...)...to("cxf:${header[ReplyTo]}?wsdlURL=YYY&...");
?
I
Hi
We are affected by same issue. Seams like regression from Camel 2.8.x, in
witch routes with combination of DLQ EH and onException clauses (for fast
redelivery) worked fine (we have many such routes in production).
As now we can't upgrade to Camel 2.10 because of this issue.
I've try to debug ro
I have created a custom webservice using cxf, which takes zip as an
attachment.
In my code i have enabled mtom as mentioned in my context file below also
annotated interface MyService for enabling mtom.
My route is defined as me
"What OS, JDK, and JAXB version do you use?"
windows server 2008 R2 Standard 64bit
jdk1.6.0_17\jre\bin\server\jvm.dll
Not sure about the JAXB...here are the jars pulled in from maven.
"And have you added saxon to the classpath, eg using camel-saxon. Saxon
is usually faster and better as xpath
i think what you want is a single starting endpoint that branches on the
operation header (or whatever that distinguishes the call).
${header.operationName} == 'op1'
,,,
,,,
2013/4/22 martin11
> Hello,
>
> I`m
mdo wrote
> from: sftp://localhost//home/user/
> to: file://tmp/
exchange.in.headers has the header "CamelFileName" where an SFTP consumed
file has the complete path including the endpoint path whereas a file that
comes from a FILE endpoint only has the relative path.
When I insert this statement
Hi,
I got this bean:
public ArrayList> Dispatch(Exchange exchange){
ArrayList> lstOflst = new ArrayList >();
...
exchange.getOut().setBody(lstOflst);
return lstOflst ;
}
lstOflst is an ArrayList 2 dimension which contains ArrayList.
ArrayList lst1 = lstOflst.get(0);
Hi
Have you tried upgrading the JDK?
On Mon, Apr 22, 2013 at 3:35 PM, gmdavidson62 wrote:
> "What OS, JDK, and JAXB version do you use?"
>
> windows server 2008 R2 Standard 64bit
> jdk1.6.0_17\jre\bin\server\jvm.dll
> Not sure about the JAXB...here are the jars pulled in from maven.
>
>
> "And h
You should be able to do something like this:
to("file://tmp/${file:onlyname}");
See: http://camel.apache.org/file-language.html
On Mon, Apr 22, 2013 at 10:24 AM, mdo wrote:
> mdo wrote
>> from: sftp://localhost//home/user/
>> to: file://tmp/
>
> exchange.in.headers has the header "CamelFile
Are you sure the problem is on Camel's end? I've never seen such a
behaviour.
How long does the external service take to respond? Perhaps it cannot
handle concurrent requests? Or it responds badly?
What's the exception seen by Camel?
To aid investigation, I suggest you monitor de HTTP traffic us
Yes, that works perfectly. I got this to work:
Where my file names are yesterday MMddyypa.
The hash bean name is just a global way to call beans from the camel
context in Spri
Check out the link Claus provides and follow the other links on this page
if you need more details...
Best,
Christian
On Mon, Apr 22, 2013 at 11:31 AM, Vas wrote:
> Hi Claus,
> Thanks for your reply.
> I want take the parameter value from the payload.
>
> -vas
>
>
>
> --
> View this message in
Hi Claus,
I managed to get my case working once I got the fault definitions in my wsdl
"correct". I am using the ProxyBuilder and maybe that "inherits" behavior from
ProducerTemplate or vice versa, and that was the reason for why that particular
exception showed up.
Thanks
Lars
Skickat från
Camel 2.11.0 is available since a few hours. Can you please try it with
this version? Only to make sure it also affects this version...
Best,
Christian
On Mon, Apr 22, 2013 at 3:01 PM, vladimirfx wrote:
> Hi
>
> We are affected by same issue. Seams like regression from Camel 2.8.x, in
> witch
Hi
Yes see this page about configuring endpoints and the # syntax
http://camel.apache.org/how-do-i-configure-endpoints.html
On Mon, Apr 22, 2013 at 7:18 PM, javamonkey79 wrote:
> Yes, that works perfectly. I got this to work:
>
>
>
>
>
>
Because you use:
MyRequestHandler mrh= exchange.getIn().getBody(MyRequestHandler .class);
mrh.getAttachment().getInputStream();
You should share the source of MyRequestHandler and your converter...
Best,
Christian
On Mon, Apr 22, 2013 at 3:05 PM, Sushmita chandra <
flightsoffantasy...@gmail.com
There is no "one" EIP to do this. You have to combine the splitter and the
content based router...
Best,
Christian
On Mon, Apr 22, 2013 at 4:37 PM, kikou1984 wrote:
> Hi,
>
> I got this bean:
>
> public ArrayList> Dispatch(Exchange exchange){
>
> ArrayList> lstOflst = new ArrayList >();
And Camel 2.10.4 and Camel 2.11.0 is also released. The second one since
only a few hours...
Best,
Christian
On Mon, Apr 22, 2013 at 3:35 PM, gmdavidson62 wrote:
> "What OS, JDK, and JAXB version do you use?"
>
> windows server 2008 R2 Standard 64bit
> jdk1.6.0_17\jre\bin\server\jvm.dll
> Not s
Hi,
Am I using the right strategy ?
So far I have created wrap for all osgi resolvers, like this (note: default
resolver can be bind() directly) :
TypeConverter is a little bit more complex :
I have then 2 modules, one which bind all interface to OSGI impl :
and one for the default :
In a
Hi , you need use that option on consumer and producer at the same time just
like this
from("cxf:XXX?wsdlURL=YYY&…&synchronous=true")to(...)...to("cxf:${header[ReplyTo]}?wsdlURL=YYY&…&synchronous=true");
BTW, it could be great if you can submit a simple test case to the JIRA, then
we can k
My custom webservice interface source:-
@MTOM(enabled=true, threshold=0)
@BindingType(value = SOAPBinding.SOAP12HTTP_MTOM_BINDING)
@WebService(name = "myService")
public interface MyService {
@WebMethod
@WebResult(name = "Response", targetNamespace = "")
@RequestWrapper(loc
I tried it on a camel 2.11.0 , but there is the same problem :
java.lang.AssertionError: mock://log:send Received message count. Expected:
<4> but was: <28>
--
View this message in context:
http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731319.html
Se
Hello fellow Camel Riders,
I am using camel proxy for sending and receiving soap requests, I
was successful in sending/receiving the soap requests , but camel is
changing the soap headers in the outbound messages, Please see below
samples.
I am using dataformat as MESSAGE, is there somet
45 matches
Mail list logo