Hi,
I trying to use a choice and split but cannot as split breaks out of the
ChoiceDefinition and otherwise is not available. beanRef("bean1") produces a
list that I'd like to process sequentially. Is there some way of
accomplishing this? If you uncomment //split().body() then the code won't
comp
Hello,
is there any way to secure passwords for camel endpoints (ftp, smtp, ...)?
Currently we store passwords in properties file (text) and use it in spring
DSL like
Can properties file be encrypted?
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.c
Is it possible to use aggregate and split with ActiveMQ/JMS? What I'm
interested in doing is a very simple aggregation, the goal being to reduce
the sheer # of JMS messages that ActiveMQ has to deal with. "Bundling" N
messages together is likely to speed up the throughput in my particular
case.
Yes, see http://camel.apache.org/jasypt.html
On Fri, May 6, 2011 at 9:30 AM, tnk wrote:
> Hello,
>
> is there any way to secure passwords for camel endpoints (ftp, smtp, ...)?
> Currently we store passwords in properties file (text) and use it in spring
> DSL like
>
>
> class="org.springframew
Use the endChoice() DSL method, see
http://camel.apache.org/why-can-i-not-use-when-or-otherwise-in-a-java-camel-route.html
On Fri, May 6, 2011 at 9:07 AM, edge wrote:
> Hi,
>
> I trying to use a choice and split but cannot as split breaks out of the
> ChoiceDefinition and otherwise is not availa
Hello,
I do not know why, but if you split your route separating when and split, it
compiles (also, notiche that the split expression goes inside split method)
:
from("x").
choice().
when().ognl("whatever").
to("direct:handlewhatever").
you mean
from("x").
choice().
when().
ognl("whatever").
beanRef("bean1").
split().body().to("y").
to("y").endChoice(). // <---endChoice() error not defined
otherwise().
beanRef("be
You need Camel 2.7 to have the endChoice
--
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
CamelOne 2011: http://fusesource.com/camelone2011/
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.co
thanks 2.7.0 fixes that problem
--
View this message in context:
http://camel.465427.n5.nabble.com/Route-with-choice-and-split-tp4375184p4375386.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
I just did an experiment on camel-core to load the core type
converters faster (eg without classpath scanning).
before: 26 min total testing time (default)
after: 24:30 min total testing time (lazy loading enabled)
special: 21:30 total testing time (lazy loading enabled, but forcing
it to neve
I think a reference from a setup class to the converters like here is
not a problem. The bad part of the tangle
appears when for example DomConverter references the setup class likle
CorePackageScanResolver.
So to get rid of the tangles we have to work towards creating an API
that the implemen
On Fri, May 6, 2011 at 11:08 AM, Christian Schneider
wrote:
> I think a reference from a setup class to the converters like here is not a
> problem. The bad part of the tangle
> appears when for example DomConverter references the setup class likle
> CorePackageScanResolver.
I dont think any of t
I did not investigate for tangles. I just wanted to reply that a
depdency from a class that wires things together to the parts is
normally not a problem.
You talked about a tangle in the mail I responded to :-) Perhaps there
is none at all
Christian
Am 06.05.2011 11:36, schrieb Claus Ibsen:
Please feel free to create a JIRA ticket, in the issue tracker, for such an
enhancement request
http://camel.apache.org/support
-
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of C
If you use the timer component
http://camel.apache.org/timer
Then it has a fixedRate option that determines if the "gap" is between
- last task starting -> new task start
- last taks ending -> new task start
Read the java doc of the JDK to understand the option as its from the Timer
in there.
In
Hi,
what do you think to support more than only dot to generate a diagram
from a route?
i did fastly a poc using jung2 to modelise/generate the graph:
http://www.mediafire.com/?z4uejanhc7rcak8
any thoughts?
- Romain
A route can be configured to not start, so look in the route code. Seems like
route2 must be configured like that.
To start the route you use CamelContext.startRoute("route2") or from the JMX
console.
-
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesour
Hmm that link seems like some download server that has advertise and
you never know what you download has malware etc.
I suggest that you use a project site to host your project such as
- google code
- github
etc.
Then come back and we can take a look.
On Fri, May 6, 2011 at 12:41 PM, Romain Ma
Hello,
is it somehow possible in Camel to achieve synchronization of a
processor based on a correlation id (e.g., a header value)?
I've taken a look into camel-bam, but haven't found something that fit
my requirements.
Thanks and regards,
marco
Hi all,
When streaming a file in < 2.7 like this:
The stream restarted from the beginning when reaching the end of the file. I
believe it now acts like the tail command and "waits" at the end of the file
for more data.
Perhaps that was always the intent, however, if not, is there a way to set
Hi,
We have recently looked at camel web console and would like to integrate the
same with equinox. I have read some earlier threads in this forum where
people have tried making it work with karaf but could not locate any success
mail.
Is support for running within osgi environment provided out o
sorry, it was easy for me, i didn't think of this.
i put it on google, here is the main to test it without maven
http://code.google.com/p/rmannibucau/source/browse/camel/diagram-generator-parent/trunk/maven-diagram-generator-plugin/src/test/java/fr/rmannibucau/MainRunner.java
(easier to debug)
-
Hi,
i would like to do a route with a bit more bean invocations than
usually and i realise the use of array body to specify parameters is
not very nice, i always have something like:
from(...).to().to("bean:...").to()
do you think it could be improved specifying in the bean component
input/
This feature seems really useful when running Camel in jee container like
Weblogic or WAS and would be a nice candidate for a Camel component.
I have started generalizing it to be jee container agnostic using CommonJ
which is a shared standard between Weblogic and WAS.
What do you think ?
Shoul
Hi
The intend was for it to work like a tail.
Feel free to create a JIRA for a new option to let it start again from
the beginning.
If you have a good idea for the name of such option then write that in
the ticket.
And as we love contributions, patches is welcome.
http://camel.apache.org/contrib
Hi
Yes its possible. But you need to use a custom message object to
contain the X number of messages.
And that object must be serializable so you can transfer it over the wire.
public class MyPayload implements Serializable {
private List messages;
.. methods to add/get messages
}
And the
This feature
http://camel.465427.n5.nabble.com/Re-RE-Usage-of-server-managed-thread-of-Websphere-td2259287.html
seems really useful when running Camel in jee container like Weblogic or WAS
and would be a nice candidate for a Camel component.
I have started generalizing it to be jee container ag
Hi
Yeah that would be a nice feature. But can we find a CommonJ JAR file
we can use for compiling and testing?
And if we can find such a JAR file. Is it Apache license friendly?
See step 2 here
http://camel.apache.org/add-new-component-guide.html
On Fri, May 6, 2011 at 2:23 PM, preben wrote:
http://repo2.maven.org/maven2/com/bea/wlplatform/commonj-twm/1.1/commonj-twm-1.1.pom(pom
only.).
But available from geronimo:
https://oss.sonatype.org/index.html#nexus-search;quick~commonj
2011/5/6 preben
>
> This feature
>
> http://camel.465427.n5.nabble.com/Re-RE-Usage-of-server-managed-thread
Hi
Seems like I am on the right path.
I have implement so the core type converters is always "hardcode" loaded.
And using lazy for unit testing camel-core by default.
That cut time down to about 21-22m.
But there is a big win at camel-spring as well.
I have cut that down from 16m to 10m.
On
Ah that may be a bug in the web-console UI. Could you create a JIRA ticket?
http://camel.apache.org/support
-
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http
Hi
I'm wondering if it is possible to shutdown a route or at least stop the
consumer (jms mainly) if all redelivery have failed.
Best Regards,
Antoine
Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Br
The dependency is only necessary at copiletime, at runtime one would use WAS
or WLS build in jars so it will newer be distributed. Doe's this have some
licence influence ?
I found the dependency at springsource enterprice repo.
com.bea.commonj
com.springsource.commonj
1.1.0
Licence says
Hi
We should be able to use the one from Apache Geronimo for the Camel component.
Then we set its scope as provided. As long as we use Geronimo, then we
should be okay.
On Fri, May 6, 2011 at 4:24 PM, preben wrote:
> The dependency is only necessary at copiletime, at runtime one would use WAS
Hi,
It seems that all you want is buffering of messages and not true
logical aggregates right ? In which case you should simply configure
ActiveMQ appropriately to enable async sending (if you aren't using
transactions) and set an appropriate prefetch when consuming messages.
You can also see whet
It seems that defining a OSGi managed service factory for producing
configurable bean instances could solve your problem ?
Thanks for the effort.
I tried to create a bug report... I hope it's helpful.
https://issues.apache.org/jira/browse/CAMEL-3950
Hope, this helps.. (I was unsure about, which elements to select, especially
the Components)
--
View this message in context:
http://camel.465427.n5.nabble.com/route-cann
Actually this could have been simply solved if camel core and all
camel components delegated their threading needs to a
java.util.concurrent.ThreadFactory. Then one could have centralized
thread management. Unfortunately even if Camel is well behaved many of
its components are not and even associat
On Fri, May 6, 2011 at 4:44 PM, Tarun Ramakrishna wrote:
> Hi,
>
> It seems that all you want is buffering of messages and not true
> logical aggregates right ? In which case you should simply configure
> ActiveMQ appropriately to enable async sending (if you aren't using
> transactions) and set a
On Fri, May 6, 2011 at 4:54 PM, Tarun Ramakrishna wrote:
> Actually this could have been simply solved if camel core and all
> camel components delegated their threading needs to a
> java.util.concurrent.ThreadFactory. Then one could have centralized
> thread management. Unfortunately even if Came
Looks like that generation library is PGL licenses.
That's not doable for Apache.
http://www.apache.org/legal/3party.html#define-thirdpartywork
I suggest to develop the tooling at your current google project. And
if it matures over time.
You can consider donating it to camel-extra
http://camel-ex
I did actually solve this today using exactly that (coupled with the ability
to route to "this" using a nested private RouteBuilder). When I get a minute
I will provide details for the mailing list in case it helps anybody in the
future.
On 6 May 2011 16:51, Tarun Ramakrishna wrote:
> It seems
it uses the bsd licence, i though it was ok, no?
- Romain
2011/5/6 Claus Ibsen :
> Looks like that generation library is PGL licenses.
>
> That's not doable for Apache.
> http://www.apache.org/legal/3party.html#define-thirdpartywork
>
> I suggest to develop the tooling at your current google proj
On Fri, May 6, 2011 at 5:43 PM, Romain Manni-Bucau
wrote:
> it uses the bsd licence, i though it was ok, no?
>
Ah even better. Then thats okay.
Yeah I would like an alternative generator that dont require the
binary DOT application.
So if that is pure java then thats perfect.
Please continue yo
Claus, was that a slip of the tongue, suggesting that kestrel (written in
scala) scales better than ActiveMQ? :-)
Thanks for the tips guys. Scaling, that's no problem...I'm trying to avoid
$caling! :-) Trust me, we've tried everything with ActiveMQ to wring every
last ounce of performance out
Hi Madhav,
https://issues.apache.org/jira/browse/CAMEL-3519 is still open.
So I'm not sure if there has been some progress or not.
At least I didn't do any research lately.
regards, Achim
> Hi,
>
> We have recently looked at camel web console and would like to integrate the
> same with equinox.
Also note that the same scheme exists for spring OOTB where the TaskExecutor
is the abstraction on top of all of these.
2011/5/6 Claus Ibsen
> On Fri, May 6, 2011 at 4:54 PM, Tarun Ramakrishna
> wrote:
> > Actually this could have been simply solved if camel core and all
> > camel components de
Hi Achim,
We were considering of making it work in osgi environment, but wanted to
check if this has already been done by the community. If and when we make it
work we can share the same with the community.
Best Regards,
Madhav
Achim Nierbeck wrote:
>
> Hi Madhav,
>
> https://issues.apache.or
Hi Shailesh,
There was a ticket created for the same issue and it was solved.
Refer: https://issues.apache.org/jira/browse/CAMEL-2879
Comments there will help you resolve your issue.
Cheers!
madhav
shailesh wrote:
>
> I see the when split fails because of the XPathExpressionException error
>
if you can incorporate AMQ, then you can use
http://activemq.apache.org/message-groups.html message groups to do
exclusive threading/ordering of groups of messages...
-
Ben O'Day
IT Consultant -http://benoday.blogspot.com
--
View this message in context:
http://camel.465427.n5.nabble.com/S
see this example of
http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html stopping a
route from a route and do it in the onException() clause after the
retry/logging configuration, etc...
BERTRAND Antoine AWL-IT wrote:
>
> I'm wondering if it is possible to shutdown a route or a
Hi all...
In OSGi (Felix), LifecycleStrategy doesn't trigger when a component
bundle is loaded. Also, CamelContext.getComponentNames() comes back
empty.
Is this known/intended behavior? I can put a ServiceTracker on
ComponentResolver; is this what I'm supposed to do for OSGi?
Don
On Fri, May 6, 2011 at 10:59 PM, unmarshall wrote:
> Hi Achim,
>
> We were considering of making it work in osgi environment, but wanted to
> check if this has already been done by the community. If and when we make it
> work we can share the same with the community.
>
Yeah unfortunately we haven
53 matches
Mail list logo