// When
try {
template.sendBody("{{route.direct.endpoint}}", request);
Thread.sleep(1000); // wait a few moments...
//then
mockEndpointResult.assertIsSatisfied(); // fails here
} catch (CamelExecutionException ex) {
//then
fail();
}
}
-- Regards,
atg roxx
could one one please have a look and reply to it.
On Tue, Jul 8, 2014 at 4:36 PM, atg roxx wrote:
> Hi Team,
>
> I am using multicast with AggreationStrategy an also using onException on
> my route.
>
> Happy case is working fine,
>
> But when there is any exception
Hi Jiang,
The mock has been defined as :
-Regards,
Atg roxx
On Fri, Jul 11, 2014 at 1:03 PM, Willem Jiang
wrote:
> Hi,
>
> It looks like you are using some kind of MOCK API to throw the exception.
> Can you show me the code how did you setup the mock
achieve what I want to do, if we dont have this option.
Is there any other work around for it.
Kindly help
-Regards,
Atg roxx
Thanks Claus,
Yes that helped.
-Regards,
Atg roxx
On Thu, Oct 2, 2014 at 1:56 PM, Claus Ibsen wrote:
> Hi
>
> See about tempFileName option at
> http://camel.apache.org/file2
>
> On Thu, Oct 2, 2014 at 12:54 PM, atg roxx wrote:
> > Hi All,
> >
> > I have
omcat" (
http://camel.apache.org/examples.html) explaining swagger integration with
Camel, but here too web application is used for example i.e web.xml for
this integration.
Could anyone suggest how can we integrate swagger without use of web.xml
-Cheers,
atg roxx
resource location to search for
resources class.
Could you if possible , kindly let me know where how to use these in your
sample program.
-Regards,
atg roxx
On Fri, Oct 17, 2014 at 3:08 PM, Matt Raible wrote:
> Here's how I did it.
>
> Application.java (to register C
and launch your application (after making use of Kongchen json
pluging).
2) Launch swagger ui server. and provide your application swagger url to
it( url on which your application will return server.json).
This will do the trick.
-Cheers,
atg roxx
On Wed, Oct 22, 2014 at 6:34 PM, Matt Raible
overable error");
from("direct:start")
.throwException(new RecoverableException("recoverable
exception"))
.end();
--------
Could you explain the why this is happening or I am doing anything wrong
-Regards
atg roxx
The camel version is 2.14.0.
I did tried and the code is from that sample example.
-Regards,
atg roxx
On Mon, Apr 13, 2015 at 2:48 PM, Claus Ibsen wrote:
> Hi
>
> I cannot reproduce this with latest code. It would be good if you can
> bulild a sample project or unit test that demo
Hi,
I am new to camel world.
I read on the camel site that we can use the below configuration to
configure the route.
But the following this not taking affect. Is the some other setting
which has to done somewhere ??
kindly guide me .
errorHandler(deadLetterChannel("jms:queue:dead")
.m
from a JMS broker, starts all over again.
> That is a difference.
>
>
>
> On Sat, Jan 28, 2012 at 11:32 PM, atg roxx wrote:
> > Hi,
> >
> >
> > I am new to camel world.
> >
> >
> > I read on the camel site that we can use the below configurat
Any replies ???
I am stuck on this for last couple of days ... any help ??
--cheers,
atgroxx
On Sun, Jan 29, 2012 at 6:32 PM, atg roxx wrote:
> first thanks for replying ...
>
> Now I am using apache-camel-2.8.3 and
>
> route configuration is
> =
>
>
Hi Babak,
I cant provide the logs in debug mode but assure you that
SoapFaultClientException is getting generated.
and yes
-
the above is the copy paste issue;
On Mon, Jan 30, 2012 at 3:30 PM, Babak Vahdat
wrote:
> Hi
>
> Can you turn the log level to DEBUG and send it *
Hi all,
Is there any other setting except from the below call for redelivers
on IOException on a route.
onException(IOException.class).maximumRedeliveries(3)
--cheers,
atgroxx
Hi Team,
I have a situation,
I have to send a request to a soap based client using spring-ws component
using InOut pattern.
I have to wait for say 2 second and if I don't get any reply in that time
frame. I should do some action.
In JMS component of camel we have requestTimeout which I can u
Hi ,
I have a situation:
In general in a camel when we have any exception in a route the onException
is called.
for example :
onException definition:
---
onException( MyException mye)
.process(new Processor() {
@Override
public void process(Exchange
google.com";)
.log("Output:")
.process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception {
System.out.println("response is "+ exchange.getOut().getBody());
}
});
-------
Kindly let me know where I am going wrong.
--cheers,
atg roxx
etOut and getIn was the issue.
Also the error msg which i have posted
"I am getting : " java.lang.**IllegalStateException: IllegalStateException
invoking http://www.google.com: Already connected"
was a warning msg which I received when I kept all logs in debug mode.
thanks;
-ch
Hi RNPG,
I check the links you have provided and they are really good, but they dont
seem to solve my problem.
I want to genreatet the URI in dynamic fashion. i.e http://abc.zyz.com/
Can you suggest a way how to generate this uri.
--Regards,
atg roxx
On Thu, Mar 22, 2012 at 12:22 PM
Hi Alex,
I doubt that we can use simple within to. I am getting compilation error
for it.
Regards,
-atg roxx
On Thu, Mar 22, 2012 at 2:59 PM, Alex Anderson wrote:
> > from( "jms:request")
> >.process(new AddHeader())
> >.to("cxfrs://h
ot;cxfrs://http://abc.com/"; +< header (test)>)
Could you please explain this or is it bug ?
-Regards,
atg roxx
On Thu, Mar 22, 2012 at 3:36 PM, Marco Westermann wrote:
> Hi,
>
> you cannot use simple language in the to endpoint-uri, but you can use it
>
not getting how to pass the POST parameters as body.
Is there any way to do that?
--Regards,
atg roxx
HI Team,
Could anyone please reply to this.
Many thanks in advance.
--cheers,
atg roxx
On Fri, Mar 23, 2012 at 5:05 PM, atg roxx wrote:
> Hi Team,
>
> I have a unusually requirement.
>
> I have to send a request xml to a restful service as as body generated
> from POST p
uot;+ exchange.getIn().getBody());
--Regards,
atg roxx
On Mon, Mar 26, 2012 at 10:58 AM, atg roxx wrote:
> HI Team,
>
>
> Could anyone please reply to this.
>
> Many thanks in advance.
>
>
> --cheers,
> atg roxx
>
>
> On Fri, Mar 23, 2012 at 5:05 PM, atg roxx wrote
-04:00
Mariott
5
1
0
0
1
0
2
I am able to unmarshall it but when i check the object created, I found
that the and object are not set to values in the xml
but are set to null.
Could anyone let me know what can be the issue or how to resolve this .
--cheers,
atg roxx
quot;)
.to(Constants.LOG_IN_INFO_WITH_HEADERS)
.process(new MondialRequestProcessor(userId, password))
.log("Finished processing
"+MondialConstants.GETPRODUCTPRICEOFFERS+Constants.LOG_CORRELATIONID);
--cheers,
atg roxx
On Fri, Apr 13, 2012 at 12:20 PM, DEPREZ Arnaud AWL-IT <
arnaud.dep...@at
Hi Christian,
Could you please provide the code for the Order and Address class.
-Regards,
atg roxx
On Sun, Apr 15, 2012 at 12:37 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
> The interesting part is how do you define the
> "jaxbGetProductPriceOffersRequest&quo
ill I am not able to
marshall or unmarshall properly.
--Cheers,
atg roxx
On Mon, Apr 16, 2012 at 8:20 AM, DEPREZ Arnaud AWL-IT <
arnaud.dep...@atos.net> wrote:
> Hi !
>
> In your class GetProductPriceOffers, you should have your variable partner
> and reques
xb/example/address/1";>
1
Main Street
3a
65843
Sulzbach
-cheers,
atg roxx
On Mon, Apr 16, 2012 at 4:02 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
> It's in SVN:
>
> https://svn.apache.org/repos/asf/came
I = " http://www.camel.apache.org/jaxb/example/order/1 ",
prefix = "ns1"),
@XmlNs(namespaceURI = http://www.camel.apache.org/jaxb/example/address/1 ",
prefix = "ns2")
},
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
}
-cheers,
atg roxx
On Mon, Ap
each and every element has to be repeated again.
Is there any work around for this.
-cheers,
atg roxx
On Mon, Apr 16, 2012 at 5:56 PM, atg roxx wrote:
> Hi Christian,
>
> I got the solution for the previous question asked by me :
>
> You have to simply add the following
here I mean to say is
should be something like
and
should be something like
--cheers,
atg roxx
http://www.camel.apache.org/jaxb/example/order/1";
xmlns:ns2="
http://www.camel.apache.org/jaxb/example/address/1";>
1
Main Street
3a
6584
Hi Chirstian,
Here I am afraid that I cant share the xsd as they are third party stuff.
-cheers,
atg roxx.
On Mon, Apr 16, 2012 at 9:19 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
> Changing the generated classes is not the way you should go.
> Is it possible to sh
estion why this is happening or what I am missing or how can we
resolve it.
-cheers,
atg roxx.
to
your service.
Now add this Action using below syntax in camel route.
The solution for this is that you have to add soapAction
from("direct:example")
.to("spring-ws:http://foo.com/bar?soapAction=http://foo.com&wsAddressingAction=http://bar.com";)
That is it.
--cheer
0
Route definition: TestRouteBuilder
@Override
public void configure() throws Exception {
from("properties:{{cool.start}}")
.to(Constants.LOG_IN_DEBUG_WITH_HEADERS)
.to("direct:unknown");
}
Could anyone tell where I am missing the configuration or what is wrong
with this setting.
---Regards,
atg roxx
Hi Team,
Sorry, there was a mistake from my end.
I have another route listening on the same queue :)
--Regards,
atg roxx
On Fri, May 4, 2012 at 12:10 PM, atg roxx wrote:
> Hi Team,
>
> I am getting follwoing error:
>
>
> Exception in thread "main" org.apache
Hi Team,
I am trying to use Jasypt for encryption or userid/password used to connect
to 3rd party services.
But While doing so I notice that the encrypted userid/pwd are available
only inside the route definitiion
i.e:
@Override
public void configure() throws Exception {
log.i
Hi All,
Could anyone please give their thought over this problem.
--Regards,
atgroxx
live thie moment!!
On Fri, Jul 6, 2012 at 5:45 PM, atg roxx wrote:
> Hi Team,
>
> I have some un usual requirement.
>
>
> I have to send spring-ws request to third party which re
egards,
atgroxx
On Mon, Jul 9, 2012 at 10:08 AM, Claus Ibsen wrote:
> On Mon, Jul 9, 2012 at 10:43 AM, atg roxx wrote:
> > Hi All,
> >
> > Could anyone please give their thought over this problem.
> >
>
> Have you looked at spring ws documentation / forum etc
Hi All,
I am facing a issue in which in which my route is not able to accept the
soap 1.2 msg.
Cxf endpoint definition :
---
http://localhost:8080/test";
serviceClass="org.apache.camel.wsdl_first.Person"
wsdlURL="my_test.wsdl" >
42 matches
Mail list logo