Hi
First of all I suggest to make sure it works *outside* OSGi. eg create
a small unit test that tests that it works as expected.
Then when its working, you knows its an OSGi deployment issue, which
can be a beast by itself to tame.
On Mon, Mar 19, 2012 at 11:42 PM, Francois Eyl wrote:
> Hi guy
On Tue, Mar 20, 2012 at 5:28 AM, Frank wrote:
> Craig,
>
> Could you tell me how I have to get the route id? Do I need to define the
> route id? Please help me.
>
You can explicit set the route id, using .routeId("myRouteName")
from().routeId("")
...
> Thanks,
> Frank
>
> --
> Vie
Hi Daniel
Yeah if its natural to process the messages out-of-order from the SQS
then your patch is on the right track.
Usually if you extend DefaultConsumer, then you can get the async
processor using
getAsyncProcessor().
An example could be the file consumer
https://svn.apache.org/repos/asf/ca
Craig,
Could you tell me how I have to get the route id? Do I need to define the
route id? Please help me.
Thanks,
Frank
--
View this message in context:
http://camel.465427.n5.nabble.com/Restarting-the-Camel-route-tp5578588p5579028.html
Sent from the Camel - Users mailing list archive at Nab
Not sure how the exchangeIn.ROUTE_STOP is working but the camel context has
a start/stopRoute(routeId / RouteDefinition) you can use.
On Mon, Mar 19, 2012 at 6:45 PM, Frank wrote:
> My route looks like this:
>
> intercept().bean(DoAsIWish.class)
> from("direct:start")
> .bean(BeanA.class)
> .b
My route looks like this:
intercept().bean(DoAsIWish.class)
from("direct:start")
.bean(BeanA.class)
.bean(BeanB.class)
.bean(BeanC.class)
.bean(BeanD.class)
.to("log:print");
How can I stop the route in the middle and restart the route from the
beginning?
Suppose in the above example, I want to
Hi guys,
I've created a very simple camel route using the mina component. This
route actually uses a custom Codec and is packaged as osgi bundle.
Whenever I deploy it to servicemix (apache-servicemix-4.4.1-fuse-03-06)
the bundle is not getting the Active state but Installed. And of course
whe
Ludovic,
It should be fine to pose your questions in multiple forums, as long as you
clearly identify and cross-link (as you have). StackOverflow is becoming
popular, and Claus has even answered several of my questions there. It's
the "blind" cross-posts without reference links that become annoy
Hi,
You can make the above route control even more fine-grained as following
Instead of zone1 and zone2 you can add company:zone1 and company:zone2...
In this case the above example could also authorize that the overall route
itself & also fine grain access to approved company employees.
Note t
Hi,
Please check out the following and let me know if this works for you...
Cheers,
Ashwin...
---
List permissionsList = new ArrayList();
Permission permission = new WildcardPermission("zone1:*");
permissionsList.add(permission);
final S
I'm trying to consume multiple exchanges from an SQS endpoint with autoack
disabled, but SqsConsumer blocks on completion of the first one that
arrives. I could have each of my workers poll SQS separately, but this will
increase the number of requests by a factor of the number of workers, which
do
@Babak - Thanks again !
I just have one pom.xml. Won't the following remove all TypeConverters ?
org.apache.maven.plugins
maven-jar-plugin
**/TypeConverter
--
View this message in context:
http://camel.465427.n5.nabble
Never mind, I found a way to do this. I did the following to make my scenario
work. Initially for the remote endpoint I had jaxrs:server definition as
well which caused binding exceptions. I removed that and then the example
started working. All we need to is rsServer and rsClient configurations.
Am 19.03.12 18:49 schrieb "soumya_sd" unter :
>@Babak - Thanks. I've looked at that Tutorial before. I'm new to both
>Drools
>as well as Camel. But I'm learning. Hopefully, I can write my complete
>experience once I'm successfully in making this all work together.
So for sure you know much more a
@Babak - Thanks. I've looked at that Tutorial before. I'm new to both Drools
as well as Camel. But I'm learning. Hopefully, I can write my complete
experience once I'm successfully in making this all work together.
Just another question regarding removing the TypeCoverter file from the jar
automa
Hi
Great! now you're indeed one step forward where the Drools Endpoint get's
kicked in through Camel! And the exception you're observing is thrown from
DroolsEndpoint class itself [1] which according to the exception message it
indicates that you don't have a proper configuration:
Could not fi
Thanks Claus.
--
View this message in context:
http://camel.465427.n5.nabble.com/message-copy-Does-not-perform-deep-copy-of-the-message-body-tp5577607p5577646.html
Sent from the Camel - Users mailing list archive at Nabble.com.
@Babak - I removed the file as you said and now i'm getting the following
error :(
268 [ http-bio-8080-exec-5] SpringCamelContext INFO
Apache Camel 2.10-SNAPSHOT (CamelContext: camelctx) is starting
269 [ http-bio-8080-exec-5] SpringCamelContext INFO
Tr
Hi
This is by design. Camel cannot know how to do deep copy of any
arbitrary payload ppl may put in there.
You have to do that yourself. Some EIPs have a onPrepare option, where
you can do the custom deep copy,
such as the multicast
http://camel.apache.org/multicast
On Mon, Mar 19, 2012 at 5:37
I am trying to copy a message so that I can alter it for subsequent
processing
Message newMessage = message.copy();
but the MessageSupport.copyFrom() method (which is called from
MessageSupport.copy() ) does not copy the original message body to the
newMessage body, but only a reference to t
Hi,
Can any one help me if the depicted scenario is possible with the current
Camel 2.8.0 version or not.
What we need to is the following.
1. Define RESTFul interface, should be able expose the API for multiple
endpoints. (Virtual Proxies)
2. Should be able to associate multiple processors betw
On Mon, Mar 19, 2012 at 1:36 PM, mikaelfj wrote:
> I'm stuck on Camel 2.6, but I can get hawtdb 1.6 and hawtbuf 1.4, which,
> judging from my unit-tests, seems to work with Camel 2.6.
>
> Are you aware of any issues that are related to my problem, that is resolved
> in hawtdb 1.6?
>
I am not awar
Hi
you could remove the TypeConverter file from inside that drools-camel JAR
(after making a backup of it of course) and see if that could help, as
there're no Camel Converter available inside that
"org.drools.camel.component" package anyway!
Babak
--
View this message in context:
http://camel.
@ Babak - So can I do something from my end to resolve this problem ?
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-org-apache-camel-TypeConverterLoaderException-Failed-to-load--tp5575757p5577364.html
Sent from the Camel - Users mailing
@Surya - I added these dependencies. But I'm still getting the same
exception.
Can you please tell us more about your setup and how you are running
drools-camel.
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-org-apache-camel-TypeCon
@surya
I assume you mean classes like the following:
https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/main/java/org/drools/camel/component/XStreamXml.java
However that doesn't help in any way (and doesn't relate to this problem).
If you have a package name inside
@Babak
In package "org.drools.camel.component" I see some classes that do reference
bunch of Camel Converter classes. my best guess is it might not be an issue
in this case..btw i have drools-camel 5.3.0 up and running'camel' should
be nominated as logo for U.N :) it integrates everything se
http://camel.465427.n5.nabble.com/file/n5577231/camel-drools.jpg
camel-drools.jpg
Claus Ibsen-2 wrote
>
>
>
> Can you check inside the drools-camel JAR file if there is a
> xxxTypeConverter classes in the package
> org.drools.camel.component
>
> If there is lets say FooTypeConverter class, the
It looks like a bug of cxfrs, I just fill a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL-5107
On Sun Mar 18 02:18:09 2012, cgsk wrote:
Thanks for the response.
But when I use spring-ws the header params are retained. why this behaviour
is differing in cxfrs?
--
View this mess
According to my understanding Bindy FixedLengthRecord Object lets you define
each field/property of the object with @DataField annotation. In @DataField
annotation see the documentation as follows:
@DataField annotaion:
"An annotation used to identify in a POJO which property is link to a
field
Perhaps I'm not explaining myself properly. It is commonplace to have
recurring data sets in fixed length messages, for example, take this
message:
For simple structures, this could be mapped as follows:
Not ideal, but it would work fine. Where this becomes a problem is when you
have a large
If you are using Camel CXF transport, it could be easy to add the
option on the JMS endpoint by specifying the option on the URL.
On Mon Mar 19 15:50:42 2012, Claus Ibsen wrote:
Hi
How do you put the message on the JMS transport?
If you use the camel-jms component, you can configure it to whi
I'm stuck on Camel 2.6, but I can get hawtdb 1.6 and hawtbuf 1.4, which,
judging from my unit-tests, seems to work with Camel 2.6.
Are you aware of any issues that are related to my problem, that is resolved
in hawtdb 1.6?
Best regards
Mikael
--
View this message in context:
http://camel.465427
Hi,
This solution works perfectly. Thanks you very much.
Regards,
Thibault
2012/3/16 Marco Westermann [via Camel] <
ml-node+s465427n5571617...@n5.nabble.com>
> Hi, you may try building the predicat by simple language:
>
> .when(simple("${property.input.format} == 'test'"))
>
> compare to http:/
On Mon, Mar 19, 2012 at 12:45 PM, mikaelfj wrote:
> We are using Camel 2.6 and hawtdb-1.5.jar and hawtbuf-1.2.jar
>
There is newer releases of those.
And yes the confirm will cleanup the resources. See the source code in
camel-hawtdb.
>
> --
> View this message in context:
> http://camel.4654
We are using Camel 2.6 and hawtdb-1.5.jar and hawtbuf-1.2.jar
--
View this message in context:
http://camel.465427.n5.nabble.com/Aggregator-and-HawtDB-DB-just-seem-to-grow-tp5576730p5576856.html
Sent from the Camel - Users mailing list archive at Nabble.com.
What version of hawtdb and Camel are you using?
There was a bug a while back, that caused it to grow. That was fixed
in a recent release of hawtdb.
On Mon, Mar 19, 2012 at 12:06 PM, mikaelfj wrote:
> Hi,
>
> We are using the aggregator EIP to collect a set of files from which we are
> to genera
Hi,
We are using the aggregator EIP to collect a set of files from which we are
to generate other documents.
In order not to loose any of the aggregated documents, we are using the
aggregator with the HawtDB as aggregation-repository.
This has been running flawless for a few months, but two week
Hi,
Seems that I use the version 2011.02 of the servicemix-camel component.
Since I don't see any newer version (or I don't know how to get them), I
will try to use a simple expression, like said in another answer.
Regards,
Thibault
2012/3/16 Claus Ibsen-2 [via Camel] <
ml-node+s465427n5571592..
Hi
I assume Hadrian could give us a hint here...
The TypeConverter file located at:
https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/main/resources/META-INF/services/org/apache/camel/TypeConverter
claims that there're should be at least a Class with one Method a
Hi
Can you check inside the drools-camel JAR file if there is a
xxxTypeConverter classes in the package
org.drools.camel.component
If there is lets say FooTypeConverter class, then you can fix this in the
META-INF/serivces/org/apache/camel/TypeConverter file in the same JAR.
It has a reference to
Hi
How do you put the message on the JMS transport?
If you use the camel-jms component, you can configure it to which
jmsMessageType you want.
http://camel.apache.org/jms
On Sun, Mar 18, 2012 at 6:04 PM, Chris Odom wrote:
> I created a simple transport for my cxf jax-ws client which is backed w
On Sun, Mar 18, 2012 at 9:25 PM, Christopher Love
wrote:
> Claus
>
> I am getting this error:
>
> Error setting property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'functionStartToken' of bean class
> [org.apache.camel.language.simple.S
43 matches
Mail list logo