HI,
I have created a project that simply consumes soap messsage from cxf
endpoint in a test class. I have created the following route in JAVA dsl and
spring bean to define cxfendpoint as shown below. When I run the test class,
I get an error that it has problem parsing ./bclearpapi-1.6.xsd due to
Is the consept of my route ok?
.from("quartz").to("http").to("xslt").to("http");
Should I be able to do that?
Why does the route get broken if I f.ex. add .wireTap to the route?
.from("quartz").to("http").wireTap("file").to("xslt").to("http");
Is it becouse http endpoint produces a Stream as the
hadrian wrote:
>
> did you consider camel-bam [1]?
> (The "b.starts().after(a.completes())" looks like what you're looking
> for).
>
I have never heard of this...
It looks interesting, but I'm not sure that it is really appropriate...it
seems to be encoding a fixed relationship between message
Hi,
Christian is right, looks like jms should definitely be part of the solution.
For the other part, did you consider camel-bam [1]?
(The "b.starts().after(a.completes())" looks like what you're looking for).
Cheers,
Hadrian
[1] http://camel.apache.org/bam.html
On Apr 19, 2011, at 7:12 PM, a
Christian Schneider-3 wrote:
>
> this would be quite difficult to achieve...
>
Yes. My colleagues are proposing a heath-robinson-ish mass of stored
procedures and triggers but I would like to avoid spattering rubbish across
our database if I can.
Christian Schneider-3 wrote:
>
> The question
I ask because it appears to, in my application where I'm using
ROUTE_STOP to break out of a pipeline.
Perhaps there should be some mechanism for breaking out of a pipeline
without killing the whole route? A PIPELINE_STOP property, or maybe
ROUTE_STOP could contain the ID of the route to be broken
@maximilien, as far as I know there currently no support available or
underway for JBoss Picketlink. But we welcome contributions at Apache
(http://camel.apache.org/contributing.html).
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-security-tp479006p4314230.html
Sent fro
Hi all...
Does using ROUTE_STOP on an email exchange prevent the message from
being deleted from the POP3 server?
Don
I don't think you want to cache the Producer or you'll loose the
configuration for subsequent routes (as well as causing other issues I
imagine). Instead, I'd try to use a static (thread-safe) reference to your
datasource in your custom Producer class that can be shared across
instances.
andrew.
Hi,
I create a simple camel route to generate a SOAP message and call the
webserver using http client. How can I configure camel, soap to send
the correct SOAP Message to my webservice ?
Camel route
**
http://camel.apache.org/schema/spring";>
Hi -
I have written a Component/Endpoint/Producer/Consumer set for my datasource.
I am trying to have two routes which go to the same producer. Camel is
creating two instances of the Producer though.
How do I stop it doing that? Do I have to write code in my EndPoint to cache
the Producer, and
On Tue, Apr 19, 2011 at 5:55 PM, Gert Villemos wrote:
> Indeed, as you say and as its documented rather nicely on the wiki, the 'is'
> operator works fine;
>
> ${body} is org.hbird.exchange.type.Parameter'
>
> Just out of curiosity; why doesn't 'getClass.getName' work? What are the
> limitations
Indeed, as you say and as its documented rather nicely on the wiki, the 'is'
operator works fine;
${body} is org.hbird.exchange.type.Parameter'
Just out of curiosity; why doesn't 'getClass.getName' work? What are the
limitations in allowed return types of a method?
--
View this message in cont
using another language like groovy for example can do the trick. I dont know
if we can say the type to simple language.
2011/4/19 Gert Villemos
> Its because the getClass() method doesnt return a String but a Class
> object, i.e. creating an inheritance hierarchy and using accessor methods
> ret
Hi
You should use the is operator (its the instanceof check)
http://camel.apache.org/simple
${body} is org.hbird.exchange.type.Parameter
On Tue, Apr 19, 2011 at 5:37 PM, Gert Villemos wrote:
> There seems to be a limitation that makes this impossible; the 'Simple'
> evaluation doesnt seem abl
Its because the getClass() method doesnt return a String but a Class
object, i.e. creating an inheritance hierarchy and using accessor methods
returning String from base classes works fine.
Is there any way around this limitation? Do I need to tell 'Simple' what
type is returned from getClass?
--
There seems to be a limitation that makes this impossible; the 'Simple'
evaluation doesnt seem able to access methods that are inherited. I thus
cant access the 'class', as the getClass method is inherited. The route
${body.getClass.getName} ==
'org.hbird.exchange.type.Parameter'}
same solution: http://camel.apache.org/content-based-router.html
2011/4/19 Gert Villemos
> ... and if I'm using the Spring annotation, i.e. XML?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313325.html
> Sent
... and if I'm using the Spring annotation, i.e. XML?
--
View this message in context:
http://camel.465427.n5.nabble.com/Routing-based-on-exchange-IN-message-body-clas-tp4313282p4313325.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
you can do something like
from(...)..choice().when(simple("${body.class ==
'org.apache.MyClass'}")).to...otherwise().to()...
- Romain
2011/4/19 Gert Villemos
> Is there a a way to route an exchange based on the class hold in the IN
> message body?
>
> I have a 'splitter' bean that cr
Is there a a way to route an exchange based on the class hold in the IN
message body?
I have a 'splitter' bean that creates message of different types. I would
like to route the different messages differently.
I could create a simple bean to set a header field based on the body and
then route ba
Am 19.04.2011 09:53, schrieb Willem Jiang:
On 4/19/11 3:21 AM, Jean-Pierre Bergamin wrote:
In short:
* Why is there a dependency to org.fusesource.commons.management in
camel-core? Should this dependency maybe optional?
The camel-core user the fusesource management as the default
management fra
Thanks for your answer
I was unsure because the we use maven assembly to collect all
dependencies, but commons-management came not up as a transitive
dependency of camel-core. So we had to manually add it as a dependency
to our project. And I never saw this maven dependency added explicitely
Hi Alph,
this would be quite difficult to achieve as you would then have to
manage the flow by hand again.
The question is do you really need to delay the message? The jms broker
can guarantee that it delivers the message so I would just send all
messages to the broker and then let receiver
Hi,
I have written this route:
from("quartz:Export?cron=" + prop.getProperty("export.schedule"))
.setHeader(Exchange.HTTP_QUERY, constant("query=" +
URLEncoder.encode(prop.getProperty("query.for.import.request"), "UTF-8")))
.to("http:{{server.hostname}}:{{server.port}}/{{server.context.path}}/se
Thanks for taking the time to respond to me. Much appreciated.
Your suggestion makes good sense to me.
I am mostly worrying about how to achieve the "delay message (n + 1) until
message (n) is acknowledged" part. I assume that one would have to have a
priority queue of some sort, with the messag
In the configure method you should only have routes. Do not use the producer
template. As what happens is that the configure method is only invoked ONCE.
Its used to setup the Camel routes.
-
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twi
A bit confused what you want to do?
Do you want something like this
from("file:src/data?noop=true")
.to(sendQStr)
// after sending to qstr, then send success to rcvQ
.setBody(constant("success")
.to(rcvQStr);
-
Claus Ibsen
-
FuseSource
Email: cib...@fu
See the download page, it list the latest GA releases on the top
http://camel.apache.org/download.html
-
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://ww
On 4/19/11 3:21 AM, Jean-Pierre Bergamin wrote:
In short:
* Why is there a dependency to org.fusesource.commons.management in
camel-core? Should this dependency maybe optional?
The camel-core user the fusesource management as the default management
framework and because of the management code is
Read this FAQ about which JARs
http://camel.apache.org/what-jars-do-i-need.html
On Mon, Apr 18, 2011 at 9:21 PM, Jean-Pierre Bergamin wrote:
> Hello everyone
>
> We are trying to get camel running as an OSGI bundle in Virgo - more or less
> successfully. Our first attempt was to simply add camel
31 matches
Mail list logo