it is just a test for now. kpigeneratorBean simply sets a test message "From
KPI Bean" in the body of the message.
Basically it has just 1 line: e.getOut().setBody("From KPI Bean"); In fact
if i route the message directly from netty component to the queue, i still
get the error.
--
View this mes
On Thu, Mar 22, 2012 at 9:00 AM, sambardar wrote:
> it is just a test for now. kpigeneratorBean simply sets a test message "From
> KPI Bean" in the body of the message.
>
> Basically it has just 1 line: e.getOut().setBody("From KPI Bean"); In fact
> if i route the message directly from netty comp
@Alexandre Thanks for looking into this. Can you give us an idea when the
next RC1 is planned ?
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-org-apache-camel-TypeConverterLoaderException-Failed-to-load--tp5575757p5585606.html
Sent fr
Hi Romain,
After reading
http://camel.465427.n5.nabble.com/diagram-generator-td4375588.html I said to
myself let me give a try to the plugin.
I have documented a couple of problems I have found so far:
http://code.google.com/p/rmannibucau/wiki/MavenRepository
http://code.google.com/p/rmannibucau/
Hi Nestor,
i think th eissues you ran into was mainly due to the fact i was using m2
last year and with m3 defaults changed.
regarding the generation from java it should work since the plugin simply
need to be able to load classes (did you run it after compile phase?)
- Romain
2012/3/22 Nestor
Hi
Sad to hear that using EJBs is still a in 2012.
Have you configured the EjbComponent to specify the JndiContext it
need to lookup the EJBs?
http://camel.apache.org/ejb
And in the old EJB days you needed to have container specific
deployment configuration files.
I assume this is no longer
I see. I now run the example using:
mvn clean package exec:java -Dexec.mainClass=camelinaction.OrderRouter2
And at least I got:
[INFO] Trace
fr.rmannibucau.loader.spi.DiagramGeneratorRuntimeException: can't find
route inside camelinaction.OrderRouteBuilder directory.
at
fr.rmannibucau.camel.loade
> from( "jms:request")
> .process(new AddHeader())
> .to("cxfrs://http://abc.com/"; + < header (test)>)
Have you tried:
.to(simple("cxfrs://http://abc.com/${header.test}";))
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, Reube
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://http://abc.com/"; + < header (test)>)
Hi,
you cannot use simple language in the to endpoint-uri, but you can use
it in the recipientList!
from( "jms:request")
.process(new AddHeader())
.recipientList(simple("cxfrs://http://abc.com/${header.test}";));
regards,
Marco
Am 22.03.2012 16:13, schrieb atg roxx:
Hi!
I´m trying to use Throttle in my xml CamelContext under 2.9 Camel version,
but when I set the /maximumRequestsPerPeriod/ property my compilation fails
displaying this message:
*cvc-complex-type.3.2.2: Attribute 'maximumRequestsPerPeriod' is not allowed
to appear in element
'camel:thr
Hi,
did you see, that the syntax changed with camel 2.8:
see: http://camel.apache.org/throttler.html
3
regards, Marco
Am 22.03.2012 16:37, schrieb garrydias:
Hi!
I´m trying to use Throttle in my xml CamelContext under 2.9 Camel version,
but when I set the /maximumRe
Hi,
I have in my RouteBuilder something like this:
public class MyRouteBuilder extends RouteBuilder{
private static final String
IN_QUEUE="activemq:myqueue.in?messageConverter=#myMessageConverter";
@Override
public void configure(){
from(IN_QUEUE).choice()
.when(header("JMSType"
I commented in the project page
http://code.google.com/p/rmannibucau/wiki/CamelDiagramGenerator
I have provided a sample project to test (added a couple of classes to the
source code for chapter2/cbr of Camel in Action Book). As I stated there the
URL for the sample project is
http://nestorurquiza
Hi everyone,
I am wondering which advantages I could have using Camel for orchestration
tasks (like sequence of webservices calls) rather than Apache ODE ?
The only point I am aware right now, it is : with Camel I can do it in java
(even if Camel wasnot initially created for orchestration) and wi
did you add in the conf:
java?
- Romain
2012/3/22 Nestor Urquiza
> I see. I now run the example using:
> mvn clean package exec:java -Dexec.mainClass=camelinaction.OrderRouter2
>
>
> And at least I got:
> [INFO] Trace
> fr.rmannibucau.loader.spi.DiagramGeneratorRuntimeException: can't find
>
It doesn't work even if i just send the message directly from netty endpoint
without modifying the body
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-ActiveMq-tp5580552p5587190.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes!
I´ve tried:
*
20
*
and
*
garryHeader
*
both are displaying:
/Caused by: java.lang.IllegalStateException: The maximumRequestsPerPeriod
must be a positive number, was: 0/
--
View this message in context:
http://camel.465427.n5.nabble.com/Throttl
Hi all
We are running these setting in production right now.
JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError -server -Xms1024m -Xmx1024m
-XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC
-XX:+UseCompressedOops -Xss1024K -XX:NewSize=512m -XX:+CMSIncrementalMode
-XX:CMSInitiatingOccu
Hi Marco,
I am facing a strange problem when using recipientList, the processor
method where I am setting the value in header is getting the input as the
appended value of the earlier request.
from( "jms:request")
.process(new AddHeader("test"))
.to("cxfrs://http://abc.com/"
Camel was created for message processing. One of typical usecase for
camel is business processes. The key points are:
* use of a higher level language to describe your business process: in
ODE you have BPEL, in camel you don't, but you have EIPs (via a DSL
supported in a few languages, includi
Currently I have project to replace BPEL with activemq and Camel , avoid BPEL .
Enjoy the camel ride.
Thanks,
-Original Message-
From: Hugo [mailto:the_damned_an...@voila.fr]
Sent: Thursday, March 22, 2012 6:36 PM
To: users@camel.apache.org
Subject: Orchestration with Camel
Hi everyone
I tried that but it fails even though the class is indeed in the specified
package:
Caused by: java.lang.ClassNotFoundException: camelinaction/OrderRouteBuilder
...
$ ls src/main/java/camelinaction/OrderRouteBuilder.java
src/main/java/camelinaction/OrderRouteBuilder.java
On Thu, Mar 22, 2012 at 1
The used class is the .class not the source.
- Romain
Le 22 mars 2012 19:36, "Nestor Urquiza" a écrit :
> I tried that but it fails even though the class is indeed in the specified
> package:
> Caused by: java.lang.ClassNotFoundException:
> camelinaction/OrderRouteBuilder
> ...
> $ ls src/main/
Can you please tell me what the content of input should be for a class in
package camelinaction named OrderRouteBuilder?
I have tested with .class, with .java, without extension, using package
notation, using relative and absolute path notation and I always
get java.lang.ClassNotFoundException
I
Try running compile goal before generate goal.
- Romain
Le 22 mars 2012 19:58, "Nestor Urquiza" a écrit :
> Can you please tell me what the content of input should be for a class in
> package camelinaction named OrderRouteBuilder?
>
> I have tested with .class, with .java, without extension, us
Not sure what you mean by "generate" goal. I can see the classes are
generated (compiled) before the plugin emits the error. So the classes are
indeed in the target/classes
$ mvn clean compile package exec:java
-Dexec.mainClass=camelinaction.OrderRouter2
...
[INFO] Building jar:
/Users/nestor/Down
just pushed some changes:
1) the plugin name changed a bit to follow maven convention
2) fixing some classloading issues when running the plugin from the build
when the route builder is defined
here my conf:
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instanc
29 matches
Mail list logo