Hi All,
I am looking to set up some mock test using Apache camel and I see
contradictory behaviours.
Please advice.
I am not sure if the mock is doing what is should (Verify if the headers are
set properly).
${in.header.messageId} == 1
Yes, if you use Spring DSL you can check it out at [1]
[1] http://camel.apache.org/using-propertyplaceholder.html
att.
*Henrique Viecili
*
On Fri, May 18, 2012 at 10:42 AM, prueegg wrote:
> Is it possible to relate to properties in the camel context as well?
> All the examples I've seen are bas
The documentation for intercepting routes at
http://camel.apache.org/advicewith.html shows using getRouteDefinition()
and adviceWith(). Both methods are deprecated now. Is there newer
documentation for this?
Thanks, Tom
if you use the Spring properties you need to refer to properties using the
Spring ${} interpolation syntax
but if you choose to use the Camel properties component you must use the {{
}} interpolation syntax
in that latter case its better to use the
On Fri, May 18, 2012 at 3:07 PM, j
I have defined "properties" bean of type camel PropertiesComponent as shown
below. "my.properties" has
threadPool.defaultSize and threadPool.maxPoolSize properties defined.
However camel threadPoolProfile isn't able to recognize those properties and
keep complaining as follow.
Any idea?
Is it possible to relate to properties in the camel context as well?
All the examples I've seen are based on the properties of the exchange.
--
View this message in context:
http://camel.465427.n5.nabble.com/Optional-Endpoints-tp5711824p5711916.html
Sent from the Camel - Users mailing list archiv
Hi Kai
Welcome back to Europe.
I had a quick look. I can see you figured out the __name__ naming of
the source files to allow the plugin to use dynamic names.
Well I guess you just copied the java version :)
It looks really good. Just a few thoughts.
I wonder if the scope of the log4j logging e
Hi Henrique
Thanks for your reply.
In the meantime I've found out, that an interceptor could do the job as
well.
The filter statement would allow me to switch on/off on the fly, where the
interceptor would be more static.
So I assume the filter and property solution would be the better one and
Patrick,
take a look at Message Filter EIP, you can configure the filter clause
based on properties loaded using camel:simple language.
att.
*Henrique Viecili*
On Fri, May 18, 2012 at 7:14 AM, prueegg wrote:
> I have a question concerning optional endpoints.
>
> Background is that I want to d
I would like to know how others would address the following use case:
It is about jms to http communication.
Requirement is if we get ConnectException or http response code 503 then we
should keep on retrying the delivery.
However if we get anything else apart from 200 and 503 as response code we
O.K. now I see the problem which is somehow similar to the one once I had as
well... However I went for another solution which was to simply list all my
persistence units in *one single* persistence.xml file. Then put this file
on your classpath which would make it accessible under the path
META-IN
I have a question concerning optional endpoints.
Background is that I want to do something like this:
from(anyActiveMQ-Queue)
.bean(anyProcessingBean)
.to(anotherActiveMQ-Queue)
*.to(additionalFileArchiveFolder)*; // optional
if the message should really go to the *additionalFileArchiveFolder *s
So
Christian Mueller wrote
>
> It depends on your runtime environment, which Registry is used:
> - org.apache.camel.spring.spi.ApplicationContextRegistry
> - org.apache.camel.blueprint.BlueprintContainerRegistry
> - org.apache.camel.impl.CompositeRegistry
> - org.apache.camel.impl.JndiRegistry
>
Please have a look into the unit tests for the camel-spring-ws component
where we do this already.
Best,
Christian
Sent from a mobile device
Am 18.05.2012 01:45 schrieb "ben_rr" :
> Hi Christian
>
> It is a bit hard to create a unit test because to recreate the problem
> involves a running web s
Hi,
I am trying to rethrow an excepcion in a .
When I have this code:
http://camel.apache.org/schema/spring";>
java.lang.Exception
15 matches
Mail list logo