What's your MarshalProcessor looks like ?
Did you call the marshal method in the DataFormat?
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English
Hi,
no, the uriResolver is used to resolve the xslt file only.
I've found a way, using a processor, that creates a XMLReader using the
CatalogResolver and puts a SAXSource using this xmlReader into the exchange.
@Override
public void process(Exchange exchange) throws Exception {
InputStream in
Hi,
i have a route
from("start").routeId("start").
marshal().json(JsonLibrary.Jackson)
.to("seda:next");
producerTemplate.send(foo);
It's worked.
But i want send foo directly to seda:next, how i can do with
MarshalProcessor?
I tried:
marshalProcessor = new
MarshalProc
Hi,
We use the Fuse IDE now which integrates camelĀ 2.10.0.fuse-71-047. We are using
cxf, activeMQ and xQuery components now. The Fuse IDE makes the war file for us
and we deploy it to tomcat. Everything is ok except that: when we undeploy the
web application without shutdown the tomcat, e.g. r
I manage to get it working, I think I was setting the context in the wrong
way.
This now works, camel context won't stop and wait for the broker to
reconnect using failover provided via config
public class MainHulk {
private static Logger LOG = LoggerFactory.getLogger(MainHulk.class);
Hi
I added an test and a improvement for Camel 2.11
http://svn.apache.org/r1447882
There is a bit more work to do as you need to configure the timer on
the endpoint as well start components / endpoints etc.
On Tue, Feb 19, 2013 at 8:06 PM, Claus Ibsen wrote:
> On Thu, Feb 14, 2013 at 9:09 PM,
I am new to Camel, as a proof of concept, I am trying to read from a
Websphere MQ queue and write to another queue. The queues exist on two
different queue managers.
Below is my is my route configuration:
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XM
On Thu, Feb 14, 2013 at 9:09 PM, Tyler Durvik wrote:
> I would like to create a NettyEndpoint with a specified
> NettyConfiguration, but cannot find an example on how to do this.
>
> So I have the following:
>
> public class MyDataRoute extends RouteBuilder {
>
> @Override
> public void configure(
On Tue, Feb 19, 2013 at 1:56 PM, wrote:
> Hello,
>
> We are using the camel xslt component to transform a xhtml file. But for
> transforming the file, the used XMLReader tries to download the dtd from thw
> w3c website.
>
> Is it possible, to tell the xslt component, to configure the xml reader t
On Tue, Feb 19, 2013 at 11:52 AM, briane80 wrote:
> Hi,
>
> I'm dealing with some large xml files (300mb) that are gzipped (to around
> 3mb) in a folder.
>
> I have a file route that reads from this folder then calls
> unmarshal().gzip() to get the xml file for processing and the next stage of
> t
On Tue, Feb 19, 2013 at 4:08 PM, Gershaw, Geoffrey
wrote:
> Hi all,
>
>
>
> I am trying to use an enum in a simple expression in the Spring DSL . I
> see that it will be possible to do this in 2.11. Is there a workaround
> till then? Right now I'm using a String literal.
>
>
>
> From the doc
>
> t
Instead of using .unmarshall().gzip() I passed the message to a beanRef that
decompresses the payload to a temp file using a buffer. Then created
another route to read from the temp file. This gave much better memory
usage and I was able to handle 300mb -> 4mb compressed files without OOM
excepti
Hi all,
I am trying to use an enum in a simple expression in the Spring DSL . I
see that it will be possible to do this in 2.11. Is there a workaround
till then? Right now I'm using a String literal.
>From the doc
type:name.field
Object
Camel 2.11: To refer to a type or field by its FQ
Hi
Did you find a solution to this?
On Wed, Feb 13, 2013 at 12:27 AM, amitb wrote:
> All,
>
> I am new to the forum, using Camel and need some help.
>
> I am receiving an external SOAP Message over HTTP, and need to multicast the
> exact same message to 3 different service endpoints in parallel
On Tue, Feb 19, 2013 at 3:17 PM, Marco Crivellaro wrote:
> I've tried what you've suggested but the route will shutdown in in case the
> broker connection is lost, in my previous test it looked like System.Runtime
> was being called. This is how my main method looks like now:
>
Maybe its due the
I've tried what you've suggested but the route will shutdown in in case the
broker connection is lost, in my previous test it looked like System.Runtime
was being called. This is how my main method looks like now:
public class MainHulk {
private static Logger LOG = LoggerFactory.getLogge
Hi all,
I have same issue as Christopher Love with @Value in my spring route
builder.
My camel context:
@Named("IntegrationRouteBuilder")
public class IntegrationRouteBuilder extends SpringRouteBuilder {
@Value("${filePolling}")
private boolean filePolling;
@Override
Hello,
We are using the camel xslt component to transform a xhtml file. But for
transforming the file, the used XMLReader tries to download the dtd from thw
w3c website.
Is it possible, to tell the xslt component, to configure the xml reader to
use local version (e.g. by using xml catalogs) or no
Hi
Try with
${bodyAs(String)}
And you may need to enable stream caching
http://camel.apache.org/stream-caching.html
On Tue, Feb 19, 2013 at 12:48 PM, Alban Joly
wrote:
> Hi all,
>
> I am trying to config an interception with criteria on BODY. My problem is
> the body is an instance of InputStre
Hi all,
I am trying to config an interception with criteria on BODY. My problem is
the body is an instance of InputStreamCache and my criteria is never
evaluate to true (I would like to evaluate a parameter in the POST request)
My context config :
http://camel.apache.org/schema/spring"; trace="t
Hi
Are you sure your app keep running.
The start method on spring app context is non blocking.
See these FAQs
http://camel.apache.org/running-camel-standalone.html
http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html
On Tue, Feb 19, 2013 at 11:45 AM, Marco Crivellaro
w
Hi,
I'm dealing with some large xml files (300mb) that are gzipped (to around
3mb) in a folder.
I have a file route that reads from this folder then calls
unmarshal().gzip() to get the xml file for processing and the next stage of
the route is a beanRef.
My question is does the unmarshal().gzip(
Hi All,
I am setting up a camel context with 2 routes consuming 2 ActiveMQ queues.
The connectionstring to the broker specifies failover protocol, however if
the broker for some reason goes offline the context shutsdown itself
automatically. Is there a way to keep the context trying to reconnect to
Update: It works.
>From my point of view, it would be nice to extend camel to support provider
specific JMS destination properties.
I'm not yet sure how to include it. Maybe it could be done just by have the
possiblity to add a "DestinationPropertyProvider" or something like this
just at the place
I'm quite optimistic that injecting a new JmsConfiguration extends
JmsConfiguration with an own JmsTemplate extending the CamelJmsTemplate
would work.
In the MyJmsConfiguration I've copied the createInOnlyTemplate from
JmsConfiguration and just modified the line
JmsTemplate template = new Ca
25 matches
Mail list logo