Hi,
I have a set up where I maintain user properties in a properties file
[xyz.properties] and i store it in different directories based on
environment for eg dev/xyz.properties in dev and prod/xyz.properties in
prod.
Now, I pass the environment type using JVM param -Denv = prod/dev etc..
All thes
Thank you for these precisions.
--
View this message in context:
http://camel.465427.n5.nabble.com/Redelivery-with-multiple-transacted-routes-tp5158209p5161456.html
Sent from the Camel - Users mailing list archive at Nabble.com.
About the cache level:
see:
http://camel.apache.org/jms.html
Transactions and Cache Levels
If you are consuming messages and using transactions (transacted=true) then
the default settings for cache level can impact performance.
If you are using XA transactions then you cannot cache as it can cau
+1
This will make a few things easier for us and for our users.
Of course, we can host this component in camel-extra on googlecode, but we
often ignore/forget these components (the last version is 2.8.0). And I
think many of our users don't know that we also host some components
because of license
I see a different error, but it still does not get into my context
gracefully. I can do a log:output and get back into the context successfully
only if I do not encounter a Fault/Exception on my external service.
http://camel.apache.org/schema/spring";>
Hi
Yes this is the expected behavior.
On Fri, Jan 20, 2012 at 5:18 PM, developpef wrote:
> Hello,
>
> Here is my question :
>
> I have a route that polls a directory and sends the files found to a
> ZipService 4 by 4 (the created zip have to contain all the files needed by
> another program, li
Hello,
Here is my question :
I have a route that polls a directory and sends the files found to a
ZipService 4 by 4 (the created zip have to contain all the files needed by
another program, like : data1.shx, data1.shp, data1.dbf, data1.prj then
data2.shx, data2.shp...).
So here is my route :
fr
Nice to hear that it works now, also [1] explains the meaning of all those
CACHE_XXX int constants which camel-jms makes use of.
[1]
http://static.springsource.org/spring/docs/3.0.x/api/org/springframework/jms/listener/DefaultMessageListenerContainer.html
Babak
--
View this message in context:
Hello,
I tried putting implementation inside custom AggregationStrategy and it
seems to be working.I dont know why i was getting empty string when i did
debug this newexchange object in intellij.
Thanks for your help
public class MyAggregationStrategy implements AggregationStrategy {
@Override
Sorry for confusion..I just debugged inside that
GroupedExchangeAggregationStrategy to see what newExchange value
has..Anyways in order to avoid confusion i created a dummy one..But still
the problem persists...
public class MyAggregationStrategy implements AggregationStrategy {
@Override
On Fri, Jan 20, 2012 at 4:22 PM, suman wrote:
> No..The body inside that exchange is of type
> org.apache.camel.converter.stream.CachedOutputStream$WrappedInputStream@4b8b7245
> And when i just debug it inside GroupedExchangeAggregationStrategy and
> evaluate newexchange using
> newExchange.getIn(
No..The body inside that exchange is of type
org.apache.camel.converter.stream.CachedOutputStream$WrappedInputStream@4b8b7245
And when i just debug it inside GroupedExchangeAggregationStrategy and
evaluate newexchange using
newExchange.getIn().getBody(String.class),its returning empty string.("")
S
That's why you should not try to use Spring-DM. I strongly suggest
switching to blueprint if you plan to deploy routes in OSGi.
The start level won't even fix the spring problems iirc, or at least
not at 100%, mostly because things happen asynchronously, so even
after subsequent startup, spring w
On Fri, Jan 20, 2012 at 4:09 PM, suman wrote:
> I tried this but no luck...In my receipient list,the list of recipients are a
> comma separated HTTP URLs..
> So what iam trying to do is make a parallel request to bunch of HTTP urls
> and than try to process them in the
> processor(eventStreamedAgg
I tried this but no luck...In my receipient list,the list of recipients are a
comma separated HTTP URLs..
So what iam trying to do is make a parallel request to bunch of HTTP urls
and than try to process them in the
processor(eventStreamedAggregationProcessor).Inside that processor, i
retrieve list
Hi
btw you can always just check for the 3 headers manually afterwards.
You can get the receive exchanges from the mock endpoint. And then
loop that, and check that you got the 3 of them.
On Thu, Jan 19, 2012 at 11:05 AM, Claus Ibsen wrote:
> Hi
>
> So you mock endpoint receives 3 messages in
Add the convertBodtTo before the recipient list.
On Fri, Jan 20, 2012 at 3:58 PM, suman wrote:
> Thanks.
> I have tried it but the dsl doesn't compile(added the one in bold)
>
> from("direct:getlivestreaminfo").startupOrder(2)
> .recipientList().method(messageRouter,
> "routeTo").p
Hi,
I agree with both of you, start-levels should be avoided.
However, in this case, the application is defined with a Spring XML using
Camel routes, so no Java beans are present in the bundle. The application
must wait until the Camel namespace is properly registered in the
camel-spring OSGi act
Thanks.
I have tried it but the dsl doesn't compile(added the one in bold)
from("direct:getlivestreaminfo").startupOrder(2)
.recipientList().method(messageRouter,
"routeTo").parallelProcessing().*convertBodyTo(String.class)*.aggregationStrategy(new
GroupedExchangeAggregationStrateg
Solved!
Thanks!
--
View this message in context:
http://camel.465427.n5.nabble.com/Container-managed-redelivery-tp5159934p5160555.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Thu, Jan 19, 2012 at 5:30 PM, suman wrote:
> Hello All,
> This is my route
> from("direct:getstreaminfo").startupOrder(2)
> .recipientList().method(MessageRouter.class,
> "routeTo").parallelProcessing().aggregationStrategy(new
> GroupedExchangeAggregationStrategy(
I changed my routing and added a catch for an exception.
I thought everything was running fine but apparently it doesn't.
I still get this exception:
Caused by:
[org.apache.camel.component.file.GenericFileOperationFailedException -
Cannot retrieve file: GenericFile[DZ_20120104_DZ_004.PDF] from:
E
Can you try to add
to your JMSComponent ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Container-managed-redelivery-tp5159934p5160336.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hum... I finally succeed in having a correct amq redelivery. And the problem
was seemingly due to the logs of my previous post.
I found a post speaking of CACHE_CONSUMER and by adding the fowwing property
to my jmscomponent
i finally had the expected behaviour (and by the way the end of the infin
Hi
Well spotted. The ticket is created
https://issues.apache.org/jira/browse/CAMEL-4925
2012/1/20 Zhemzhitsky Sergey :
> Hi gurus,
>
> I have the following issue. I need to send requests to webservice from camel
> on timer events.
> As timer consumer uses synchronous event firing , only one req
The most important thing here is that the component is published, be it in
camel-extra or in a separate project. Licensing has long prevented
integration products to be as complete as they could. Thanks for sharing.
On Jan 20, 2012 9:01 AM, "Björn Bength" wrote:
> I think GPLv3 software may inclu
@anoordover : unfortunately, i can not run my application with Camel 2.7.5
but i'll try as soon as possible with this version.
BTW, i set ActiveMQ logs into DEBUG and i see something strange (maybe it is
not) :
2012-01-20 11:56:50,476 | DEBUG | *queue://traiterReponse remove sub*:
QueueSubscript
I think GPLv3 software may include Apache licensed software but not
the other way around.
however, I think it's ok to use 3 party librarys, but not including or
distributing with it.
http://www.apache.org/legal/3party.html#transition
LGPL
The LGPL v2.1 is ineligible from being a Category B licens
I have the same problem:
http://camel.465427.n5.nabble.com/Container-managed-redelivery-tp5159934p5159934.html
Up until version 2.7.5 redelivery delay is taken into account.
>From version 2.8.0 and onwards redelivery on the container isn't taken into
account anymore and redelivery in immediate.
-
Can you try to set this option ThrowExceptionOnFailure on your http
endpoint?
In this way you will not get the internal exception error from the CXF
endpoint.
On Fri Jan 20 10:03:25 2012, sram wrote:
I'm using JAX-WS, and to step back I'm on CXF2.4.1+Camel 2.4.0 (My bad on
version typo). My u
Hi Christian,
yes, a colleague who is Apache member just explained it to me.
We are discussing about switching to ASL 2.0 with the next version.
Regards,
Carsten
Am 20.01.2012 um 10:36 schrieb Christian Schneider:
> Hi Carsten,
>
> you migth want to take a look at the Apache license policie
Hi,
in case nobody else has a better idea I recommand you to ask for help in
ActiveMQ user-forum [1] as you decided to use ActiveMQ redelivery policy and
not the one Camel provides.
[1] http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Babak
--
View this message in context:
htt
Hi Babak,
It did not resolve the problem.
Messages are still being redelivered immediatly.
Eric
--
View this message in context:
http://camel.465427.n5.nabble.com/Redelivery-with-multiple-transacted-routes-tp5158209p5159979.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
the redeliveryDelay [1] will be taken into the account *if*
initialRedeliveryDelay is 0 which you've set it to be 5000.
[1] http://activemq.apache.org/redelivery-policy.html
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/Redelivery-with-multiple-transacted-routes-
With this route configuration:
Up until version 2.7.5 my redelivery i
Hi Carsten,
you migth want to take a look at the Apache license policies:
http://www.apache.org/legal/3party.html
LGPL is listed as excluded so it may not be used as a dependency of an
apache product (as far as I understand).
I am not sure why it can´t be used but I guess some lawyer has helped
Hi,
It's good to know that both Camel & AMQ redelivery can be used.
Currently, i'm trying to have AMQ do the redelivery but i have a strange
behaviour : the redelivery delay is not taken into account. here is my
Camel/JMS config :
ActiveMQ 5.6 will support non blocking redelivery. You would need to
enable this on the AMQ side.
You can have both Camel + AMQ do redelivery. Camel will do redelivery
at the point of problem. So that could be in the middle of a route, if
a processor fails etc. AMQ is always redelivering from the
Björn, thanks a lot for sharing your camel-hibersap component. I only just
started playing around with camel and liked it very much. Now there is a
good reason to take a deeper look.
It's good to hear that Hibersap helped you with your project. Regarding the
license, I think there should be no pr
39 matches
Mail list logo