Hi
I have worked on a consumer component that extends the
ScheduledBatchPollingConsumer, and want to signal when an error occurs
during connect to a remote resource (basic http). Atm any connect error will
be logged, but I want it to surface in jmx attribute like the
ExchangesFailed and LastExchan
Hi
Just validate your xml against the schema and you can figure out why.
should be moved up, so it comes before the process
java.lang.Throwable
true
...
On Fri, May 17, 2013 at 7:55 AM, matt.u wrote:
> Hi all.The error handler can use in java dsl like this:
> onExc
Hi all.The error handler can use in java dsl like this:
onException(Throwable.class)
.to("file://errors")
.process(errorProcessor)
.handled(true)
.end();
But in xml, I write this, it can't working:
java.lang.Throwable
true
What's the right useage?
Tha
You can always use the API from CamelContext to parse it, and then set
the value in the route.
String parsed = camelContext.resolvePropertyPlaceholders("{{xxx}}");
marshal().string(parsed)
On Thu, May 16, 2013 at 10:19 AM, satspeedy wrote:
> Hi Claus,
>
> furthermore same problem...it won't b
I am planning to integrate my J2EE application with various external
web-services using Camel and bundle camel with EAR. Can the camel
integration module be used with any ESB other than FUSE ( Jboss FUSE )?? If
any one has tried using camel integration engine with ESB like IBM message
broker or TIB
yes I did that but nothing work
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-multicast-tp5732682p5732698.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Update: I tried with http header "Connection: close" from client and it
doesn't work.
--
View this message in context:
http://camel.465427.n5.nabble.com/jetty-http-dynamic-uri-in-consumer-from-tp5732691p5732697.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
It is looks like CXF will have some trouble to access the wsdl when it is
starting up.
Can you just remove the wsdlURL option from the camel-cxf endpoint uri, as you
are using MESSAGE dataFormat, you don't need to specify the it.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of R
This is invocation is just trigger to background process and I want to client
to wait for this to get completed. That is why i am using inOnly. This part
is working fine.
If any of these 2 problems get solved i would be able to get response back
as "jetty:http" has httpBinding and i can have cust
Did you set the stopOnException option to be true in your multicast?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
http://jnn.it
You are sending the InOnly message to seda endpoint.
Can you change it to InOut?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
1) I have a requirement to expose a REST service POST with uri like
http://localhost:9080/boxes/{boxid}
would it be possible to expose this using jetty:http like:
http://localhost:9080/boxes/{boxid} /> i know this doesn;t
work it works with restlet
2) In above question i am trying to use jetty:
You could separate route R1 into two smaller routes connected with direct.
Then you could send messages to both smaller routes...
Bilgin
On 16 May 2013 17:02, samslara wrote:
> Hello,
> I have a hypothetical question that's been bugging me. Is it possible to
> send an exchange into a route
> I am new to Camel and learning it.
Welcome.
> Camel in Action book is 3 years old
> and based on Camel 2.5.
> - Is it still valuable and usable with current Camel 2.11?
Yes!
> - Is there an update or another book announced?
Ok - that's more a question for the authors (who are also here on t
gquintana a écrit :
Hello,
I am new to Camel and learning it. Camel in Action book is 3 years old and
based on Camel 2.5.
- Is it still valuable and usable with current Camel 2.11?
- Is there an update or another book announced?
The examples of the book are constantly updated to latest Camel r
Hello,
I am new to Camel and learning it. Camel in Action book is 3 years old and
based on Camel 2.5.
- Is it still valuable and usable with current Camel 2.11?
- Is there an update or another book announced?
Thanks for advice.
--
View this message in context:
http://camel.465427.n5.nabble.c
I implemented a custom route policy that is similar to the
CronScheduledRoutePolicy, except instead
of start/resume suspend crontabs, it only has a start/resume crontab
and a duration.
Well, now I need to support multiple customers,each having different
schedules. I was thinking of just
adding mu
First, I see that you're using Oracle-XE. If you're on Windows, be
advised that Oracle-XE
is only supported on 32bit versions of Windows. I learned the hard
way - strange
erratic behavior, etc. I advise that if you have 64bit Windows, that
you uninstall Oracle-XE
and install the standard releas
Hi
I am using camel 2.4
I know its a old version of camel but I need a help badly
I am using multiacast to process same message differently.
I wanted to replies from both the message ,so if one endpoint fails to
process the message ,the 2nd endpoint also stop the processing and the
message will g
Hi Claus,
furthermore same problem...it won't be parsed.
Any other possibility to solve it?
thanks beforehand.
regards
satspeedy
--
View this message in context:
http://camel.465427.n5.nabble.com/set-string-marshal-encoding-by-a-property-file-tp5732657p5732664.html
Sent from the Camel - User
Thanks a million for the response Hadrian.
That was what I kinda suspected (i.e. legacy reasons). Your response makes
me very confident now that wrapping the offending methods is the correct
action for me right now (it's pretty trivial for me to do anyway). That way
I get rid of the nasty (i.e. 'n
Hello All ,
I am currently working on a project requirement to send the Optional
Parameters in Submit_SM/Data_SM to SMSC , but i can't find
CamelSmppOptionalParameters Header for Producer Message Headers. I need to
send the optional parameter in the Data_SM/Submit_SM , Is there any patch
availabl
should id add something here
i add the jar file to the classphath , it works fine for mysql but bugs for
oracle
the error that i got
Property 'driverClassName' threw exception; nested exception is
java.lang.IllegalStateException: Could no
Hello,
I have a hypothetical question that's been bugging me. Is it possible to
send an exchange into a route mid way? So to elaborate I have a route R1
that does something simple like (pseudo camel xml):
Now I have this other route R2 that somewhere down the line (in P4) wants
On 16 May 2013, at 12:23, Peter Hilton wrote:
> I’m using Camel to process files, and need to save a copy of each incoming
> file to an 'archive' directory. In addition, if another file arrives with the
> same name as an earlier file, I must add this to the archive with a different
> file name
Hi everyone,
i have a Camel route deployed as a servlet. It programmatically creates SOAP
request messages based on user input. For this purpose, i've written a
custom Processor that creates CxfPayload and sends it to the Web service.
The Web service is specified with a Uri in the route and the PA
Hello!
New to Camel, new to this list. Please let me know if this is the wrong place
to ask questions like this.
I'm using Camel 2.11.0, and CXF 2.7.4; running Camel in Tomcat 7.0.25. I have a
basic route to prove that I can hit a web service:
http://buzz.akc.org:8080/bvg-service/service
Ok, new try.
I want to create a generic SOAP consumer. The consumer should be able to
process all possible kinds of soap messages (+headers like ws-a...). As I'm
already using cxf component in my project I want (if possible) to realize
this with cxf too.
Now the problems I have:
-Using Message f
By the way, the problem appears not on if there are two files. It appears
if the last exchange is not passed to the endpoint.
Example with only one file :
from("file://C:/Temp/camel/rep1/?noop=true")
.split()
.tokenize("\n")
.streaming()
.process(new Processor() {
Hi Camel-Users
I have a workflow where files are moved from an input-directory to a
processing-directory and later to an error- or target-directory. Out of the
file content messages are generated (Claim Check Pattern) and if an error
occurs during processing of the message, it is sent to an error-
I’m using Camel to process files, and need to save a copy of each incoming file
to an 'archive' directory. In addition, if another file arrives with the same
name as an earlier file, I must add this to the archive with a different file
name and not overwrite an existing archive file.
Two questi
HI i use to get a connection with an oracle jdbc i configured my camel
context like that
when i run i get this error
Failed to execute goal org.apache.camel:camel-maven-plugin:2.10.4:run
(default-cli) on project rout: null: MojoExecutionException:
Invoca
Hi @all,
environment is jboss 7.11 in combination with liferay portal. After
delpoying, route builder class and reconfigured routes will not be reloaded
without a server restart.
Does anyone have experience on it?
Best Regards & thanks beforehand.
satspeedy
--
View this message in context:
Hi,
Thanks Claus for the answer. I have logged a jira (
https://issues.apache.org/jira/browse/CAMEL-6367)
I have not really understand how to implements your recommandation about
exchange.addOnCompletion. After downloaded the camel code to
understand how package
org.apache.camel.converter.stream
Try with
org.apache.camel.model.dataformat.StringDataFormat sdf = new StringDataFormat();
sdf.setCharset("{{}}");
And in the route
.marshal(sdf)
On Thu, May 16, 2013 at 9:41 AM, satspeedy wrote:
> Hi Claus,
>
> thanks for your answer...placeholders aren't supported, too.
>
> Any other pos
Hi Claus,
thanks for your answer...placeholders aren't supported, too.
Any other possibility to solve it?
Regards
satspeedy
--
View this message in context:
http://camel.465427.n5.nabble.com/set-string-marshal-encoding-by-a-property-file-tp5732657p5732660.html
Sent from the Camel - Users mai
Hi
Ah yeah maybe something we can improve.
Can you details Camel version used. And also maybe the SQL you want to
execute. And what your body contains.
Then we can ponder how to improve the camel component.
On Wed, May 15, 2013 at 10:17 AM, Shishir wrote:
> We are using IN clause and need to
Try with
.marshal().string("{{output.encoding}}")
Though not sure if we support the placeholders there, but give it a try first.
On Thu, May 16, 2013 at 9:06 AM, satspeedy wrote:
> Hi @all,
>
> my purpose is to make the encoding of marshalling configurable in the
> following route by a property
Hi @all,
my purpose is to make the encoding of marshalling configurable in the
following route by a property-file.
.process(new ...Processor())
.marshal().string(simple("${properties:output.encoding}")) // "IBM-273"
.to()...
I've tried it with simple language...but the string(..)-method do not p
39 matches
Mail list logo