On Mon, Apr 30, 2012 at 9:26 PM, Purple Tea wrote:
> Hi,
>
> I have a route that returns a bean, and I would like to call a method in the
> bean that was returned (which isn't in the registry).
> I've been looking at the bean binding documentation but I didn't find this
> scenario.
>
> Bellow is a
Hi,
I have a route that returns a bean, and I would like to call a method in the
bean that was returned (which isn't in the registry).
I've been looking at the bean binding documentation but I didn't find this
scenario.
Bellow is a sample code:
class MyBean
I wonder if using one the Marshalling frameworks would solve this?
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5676645.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Dan
Did as you suggested and it installed cleanly.
Sequence
features:addUrl mvn:org.apache.activemq/activemq-karaf/5.5.1/xml/features
features:addurl mvn:org.apache.cxf.karaf/apache-cxf/2.6.0/xml/features
features:addurl mvn:org.apache.camel.karaf/apache-camel/2.9.2/xml/features
features:instal
Trying that now...
Thanks Dan. Much appreciated.
Do you guys ever sleep?
--
View this message in context:
http://camel.465427.n5.nabble.com/karaf-2-2-5-cxf-2-6-0-and-camel-2-9-0-install-problem-tp5675060p5677295.html
Sent from the Camel - Users mailing list archive at Nabble.com.
May be ordering
Try:
1) Karaf 2.2.7 with the jre.properties.cxf
2) Install the ActiveMQ 5.5.1 feature.xml
3) Install the CXF 2.6.0 feature.xml
4) Install the Camel 2.9.2 feature.xml
Then install the various features themselves, likely in roughly the same
order. ActiveMQ first, CXF next, th
I'm now trying to add ActiveMQ 5.5.1 to the above container (karaf 2.2.7, cxf
2.6.0, camel 2.9.2)
features:addUrl mvn:org.apache.activemq/activemq-karaf/5.5.1/xml/features
then
features:install activemq-spring
This fails with the message:
Error executing command: Could not start bundle
mvn:org
What's about this:
public class GlobalAggrStratergy implements AggregationStrategy {
private static final transient Logger log =
LoggerFactory.getLogger(GlobalAggrStratergy.class);
private int counter = 0;
@Override
public Exchange aggregate(Exchange oldExchange, Exchange newExc
I would suggest something like below:
from("jms://...")
.to("xslt://...")
.to(cxf://...);
I'm not sure whether you are looking for the Camel XSLT component or not.
Camel also supports XPath...
The Camel CXF components supports HTTPS.
Best,
Christian
On Mon, Apr 30, 2012 at 5:30 PM, saiya-ji
Tim wrote
>
> These "exhausted after ..." errors usually follow another exception. Can
> you check the logs for that exception?
>
Tim, this is the only thing I see on the tomcat log.
--
View this message in context:
http://camel.465427.n5.nabble.com/A-simple-that-was-working-before-is-not-
Thanks, in the meantime I'm going to see if I can get this running on a Unix
box.
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Processor-Not-deleting-the-files-tp5670301p5676398.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Claus,
I aplogise for not understanding your comments (mutate the existing
oldExchange). Please help me understand if you have sometime.
I am doing as I did because of the following ...
1. I guess that the old exchange is null only once for every aggregation
block (i.e Since I have the compl
On Mon, Apr 30, 2012 at 3:27 PM, rdifrango wrote:
> So, I converted this over to Java and it is exhibiting the same behavior.
> What did I do wrong:
>
> public class JavaSplitPerfProcessor {
> static class LineSplitter implements Processor {
> static final String format = "IN
Thank you for quick response and action.
I see another problem with Quickfix engine configuration - if a setting
(e.g. SETTING_JDBC_DS_NAME) is in a non-default section of the config file
(i.e. [Session]) then it is not recognized by Camel.
I guess it is because the SessionSettings.isSetting metho
On Mon, Apr 30, 2012 at 5:03 PM, Hoang-Vu PHUNG wrote:
> -- Forwarded message --
> From: Hoang-Vu PHUNG
> Date: 2012/4/30
> Subject: Question regarding loop in camel
> To: users-h...@camel.apache.org
>
>
> Hi all,
>
> So far the loop construction in camel has a fixed number of ite
-- Forwarded message --
From: Hoang-Vu PHUNG
Date: 2012/4/30
Subject: Question regarding loop in camel
To: users-h...@camel.apache.org
Hi all,
So far the loop construction in camel has a fixed number of iterations.
Is it possible some how to :
1. dynamically change the count of
-- Forwarded message --
From: Hoang-Vu PHUNG
Date: 2012/4/30
Subject: Question regarding loop in camel
To: users-h...@camel.apache.org
Hi all,
So far the loop construction in camel has a fixed number of iterations.
Is it possible some how to :
1. dynamically change the count of
I am very sorry for not understanding this properly.
Please accept my apologies if am wasting your time.
I am totally missing something here.
Below is the change I had made (Hopeing that this is what you meant by
saying Mutate the old exchange).
I am using StringBuilder so that the process os fas
Thanks Christian. That is of course a good point.
To test this works right away from the container I run the below and I got
the messages as expected:
from("quartz://group1/timer1?job.name=job1&stateful=true&trigger.repeatInterval=5000&trigger.repeatCount=0")
.log(LoggingLevel.INFO, LOG_NA
On Sunday, April 29, 2012 11:50:05 PM Fitzcaraldo wrote:
> Good call.
>
> With karaf v2.2.7, cxf v2.6.0 and camel v2.9.2 - it installs cleanly.
> This time the war didn't pull in an earlier version of cxf.
If using CXF 2.6.0, you really need Camel 2.9.1 or newer (2.9.2 obviously
preferred).
No, the resource adapter is fine. I wrote a simple MDB that uses the RA and
just echoes back a message to the reply Q. In the onMessage() call I create
and close the connection. This MDB can handle 20 messages/s, whereas Camel
handles only one.
--
View this message in context:
http://camel.46542
Did you send a message to your direct endpoint?
Best,
Christian
On Mon, Apr 30, 2012 at 12:54 PM, Nestor Urquiza
wrote:
> I have changed the code by:
> private static final String LOG_NAME = SampleRouteBuilder.class.getName();
> private static final Logger log = LoggerFactory.getLogger(LOG_NAME)
So, I converted this over to Java and it is exhibiting the same behavior.
What did I do wrong:
public class JavaSplitPerfProcessor {
static class LineSplitter implements Processor {
static final String format = "INSERT INTO EVT_PERF (
EVT_PERF_ID,
CRLTN_ID, USER_ID, APPN_
That was it. I fell into the trap of using getOut(). Thank you.
On Mon, Apr 30, 2012 at 12:17 AM, Claus Ibsen wrote:
> Hi
>
> Sounds like you do something wrong in your custom processor that
> removes the message body.
> See this FAQ
> http://camel.apache.org/using-getin-or-getout-methods-on-e
I have changed the code by:
private static final String LOG_NAME = SampleRouteBuilder.class.getName();
private static final Logger log = LoggerFactory.getLogger(LOG_NAME);
...
log.debug("Configuring dummy route");
from("direct:start").log(LoggingLevel.DEBUG, LOG_NAME, "Processing ${id}");
I still
Use .log(priority, category, message). In your case .log(priority, message)
goes to category named as route id. If you have no id set on route it will be
generated.
Regards,
Lukasz
Wiadomość napisana przez Claus Ibsen w dniu 30 kwi 2012, o godz. 08:18:
> Its the name such as you define with
26 matches
Mail list logo