While going through the Documents it has been wriiten that the exception or
custom message will be show back to caller
i am confused what exactly caller in this case.
Since my route is being executed by the camel itself so its camel who is
caller?
For e.g
in my routebuilder class
public class Ca
Hi all,
Since CAMEL 2.8.0 my custom web.xml is not enrich with Jersey Filter and
TemplateEngine Servelet.
I had to add this to my web.xml to get the console working :
org.springframework.web.context.ContextLoaderListener
Jersey Filter
com.sun
Here:
karaf@root> headers 244
Generic SOAP Services Consumer (244)
Manifest-Version = 1
Bnd-LastModified = 1313052666388
Tool = Bnd-1.43.0
Build-Jdk = 1.6.0_25-ea
Created-By = Apache Maven Bundle Plugin
Bundle-Name = Generic SOAP Services Consumer
Thanks for the suggestion - externalising the endpoints urls in different
property files for prod/test seemed the most sensible way to go.
--
View this message in context:
http://camel.465427.n5.nabble.com/Stubbing-jms-with-an-inprocess-transport-when-using-CamelTestSupport-tp4685084p4688766.html
It won't split and I don't know why - these are my words for the start here.
I created a unit test with Camel and the FakeFtpServer. This ist the
configure-Method in my RouteBuilder:
@Override
public void configure() throws Exception {
from(fromUri).
log("route complete content: ${b
I checked the code that handles jaxrs:server, it calls the same method
as the handler of jaxws:endpoint.
Can you past the spring configuration the camel route and jaxrs:server ?
On 8/9/11 3:52 PM, Mirko Caserta wrote:
Hi Willem,
yes, I'm using the CXF servlet transport.
Here is my web.xml: ht
The body() in your case is a file it seems.
Try to convert it to a String before the split and see if that helps.
convertBodyTo(type) or convertBodyTo(type, charset)
from(fromUri).
log("route complete content: ${body}").convertBody(String.class).
split(body().tokenize("@")).
Hmm, it's weird, any chance you can provide a testcase bundle which I
can build and deploy to reproduce it?
Freeman
On 2011-8-11, at 下午4:53, Naira & Kobo wrote:
Here:
karaf@root> headers 244
Generic SOAP Services Consumer (244)
Manifest-Vers
Hi, something else came up.
Have you ever tried running servicemix 4.4 on Windows 7? I am running mine
on Windows 7 and here are the errors I am getting when starting it up:
10:59:35,041 | NIOSocketConnectorWrapper| 159 -
org.ops4j.pax.web.pax-web-jetty - 1.0.3 | Connection on port 8181 c
Hi all,
For some reason, email that is sent from Camel doesn't have the message text
in the email body. Instead, we end up having an attachment, called
ATT1.xml, which contains, as plain text, the message body.
At first I did not notice this, since Apple Mail automatically displayed the
attac
On 2011-8-11, at 下午6:04, Naira & Kobo wrote:
Hi, something else came up.
Have you ever tried running servicemix 4.4 on Windows 7? I am
running mine
on Windows 7 and here are the errors I am getting when starting it up:
10:59:35,041 | NIOSocketConnectorWrapper| 159 -
org.ops4j.pax.w
Yes, happened to me when I started to also add attachments.
This solved my problem:
message.setHeader(Exchange.*CONTENT_TYPE*, "text/plain");
It worked fine without setting the contenttype at start, but after I added
this in my processor the body was also sent as an attachement:
ByteArrayDataSou
I'm sending the context config file in a private message to you as it
contains some of my customer's business info in the camel route.
Mirko
On Thu, Aug 11, 2011 at 11:17 AM, Willem Jiang wrote:
> I checked the code that handles jaxrs:server, it calls the same method as
> the handler of jaxws:en
Is it possible to get NotifyBuilder to wait on message arrival at various
out/edge jms endpoints within a test? Surely this is what you want to do
most of the time?, ie check your end conditions.
In all the NotifyBuilder examples I've seen the notify conditions are either
very general or on compon
Hi Magnus,
Yes, thank you, this fixed the problem. We also had a text/xml content-type
from some earlier manipulations.
Thanks,
Lunchbox
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-sent-email-content-goes-to-an-attachment-ATT1-xml-tp4689081p4689212.html
Sent
Hello Magnus - thanks a lot - it works!
--
View this message in context:
http://camel.465427.n5.nabble.com/Problems-with-the-splitter-tp4688819p4689262.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Can you change the NotifyBuilder
to be the below one ?
NotifyBuilder notify = new NotifyBuilder(context)
.from("{{url.radial-trades}}").whenDone(4)
.and()
.from("{{url.dead-letter}}").whenDone(1).create()
On 8/11/11 6:07 PM, jason.parr wrote:
Is it possible to get NotifyB
Hi,
I am having problems stopping a camel route which pushes messages from a
queue in broker1 to another queue in broker2. I am using Apache Camel
2.7.1-fuse-00-27 that ships with ActiveMQ 5.5.0-fuse-00-27.
The problem comes when there are inflight messages. This happens if broker2
is offline (be
On Thu, Aug 11, 2011 at 10:06 AM, jason.parr wrote:
> Thanks for the suggestion - externalising the endpoints urls in different
> property files for prod/test seemed the most sensible way to go.
>
Yeah this is common practice. This is also what we cover in chapter 6
in the Camel in Action book.
Hi Mirko,
After I add a simple test I found that jaxrs:server will use the
BusFactory.getDeafultThreadBus() when the bus is not set, it will make
the jaxrs server using a bus which is not wired with CXF Servlet.
And it can explain that the jaxrs server doesn't show up in service list.
In Came
I'm trying to use the camel-freemarker component in Windows 7 x64 with Camel
2.8 running in Karaf 2.2.2.
I've used camel-velocity with success using the following URI:
velocity:file:J:\Apache\velocity_templates\failed_notification_email.vm?contentCache=false
So, I tried doing the same with a free
Oh, and I did try clicking the uri within my IDE and it opened up the
template file no problem, so I know that the path is correct.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-freemarker-FileNotFoundException-tp4689657p4689664.html
Sent from the Camel - Users mailing
Hi Willem,
no problem, I can live with an extra statement in the meanwhile :)
Thanks for taking care of this in the upcoming releases of CXF.
Mirko
On Thu, Aug 11, 2011 at 4:19 PM, Willem Jiang wrote:
> Hi Mirko,
>
> After I add a simple test I found that jaxrs:server will use the
> BusFactory
On Wed, Aug 10, 2011 at 10:25 AM, Claus Ibsen wrote:
> In fact we may add support directly on the resequencer as well to
> filter out out of sequence numbers in case it have send out a batch.
> Fell free to create a JIRA ticket. And if possible working on a patch
> with unit test.
Done, see
Hi,
No that didnt make any difference.
The mesages are going where expected just the notify condition never fire.
I'm using camel 2.8.0
The 'prod' route builder I'm testing who's configure was over-ridden to read
inputs from files is:
public void configure() {
errorHandler(
deadL
On Thu, Aug 11, 2011 at 12:07 PM, jason.parr wrote:
> Is it possible to get NotifyBuilder to wait on message arrival at various
> out/edge jms endpoints within a test? Surely this is what you want to do
> most of the time?, ie check your end conditions.
>
When you say out/edge you mean when X num
Hi
In the bean that handles the error handling, I think that is
CSVConverterBean in the method validationFailed.
What you can do is to pass error information back to the CallRoute.
(or vise versa if you want to).
So instead of using the .class you use an instance of the bean
CSVConverterBean myC
Hi Claus,
Thanks for your response. I now understand why I was experiencing blocking.
However, I would like to advocate that the default threadpool for wireTaps
not use the caller run rejection policy. This default policy works well
for splits and other mechanisms, but I don't believe it is us
On Thursday, August 11, 2011 10:19:04 PM Willem Jiang wrote:
> Hi Mirko,
>
> After I add a simple test I found that jaxrs:server will use the
> BusFactory.getDeafultThreadBus() when the bus is not set, it will make
> the jaxrs server using a bus which is not wired with CXF Servlet.
> And it can e
Hi,
The code below
Well a valid range for an IP address is between 0 and 255 where 0 and
255 are blocked
for internal things.
you should rather use 127.0.0.1 for your local device.
Regards, Achim
Am 11.08.2011 23:11, schrieb Tereza Nedelescu:
Hi,
The code below
Hi,
I'm trying to bind netty to all the hosts. How can I do that ?
Using the netcat format, I see TCP *:port#.
I tried using the same format in Camel, but it didn't work. See below:
Error: org.apache.camel.Runt
Using the address "0.0.0.0" like this can do the job.
On 8/12/11 8:52 AM, Tereza Nedelescu wrote:
Hi,
I'm trying to bind netty to all the hosts. How can I do that ?
Using the netcat format, I see TCP *:port#.
I tried using the same format in Camel, but it didn't work. See below:
At the same time, writing the following code works fine:
However, I'm not sure if this code s
I am using my actual ip address. I wrote it here as 999.999.99.99 because I
didn't want to give my real IP address on the forum. The question was about
which one is the correct method of message routing that simulates the
processor getting data from the socket :
*1 -* file ->netty tcp socketn
Hi Tereza
Usually it says why it failed to bind.
I suppose you checked that your port is not still opened by another process you
were debugging or whatever.
There's nothing wrong simulating data from a file instead, just ensure that you
don't now have 2 routes trying to own that port.
PS if yo
36 matches
Mail list logo