I've downloaded the windows binaries for camel 1.6 and tried do run the
example in the NetBeans IDE. I added the required jars to the libraries.
I also tried to run the example with maven, but just got another error:
[INFO]
On Thu, Mar 5, 2009 at 9:40 AM, ee7arh andrew.hu...@2e-systems.com wrote:
Thanks for the feedback,
It looks like we are talking about the same use case. In my example, all my
methods had the same name, but each method had a different parameter
(Object1, 2 and 3). Each of these parameter
BTW
I created a ticket for it
https://issues.apache.org/activemq/browse/CAMEL-1424
On Thu, Mar 5, 2009 at 9:49 AM, Claus Ibsen claus.ib...@gmail.com wrote:
On Thu, Mar 5, 2009 at 9:40 AM, ee7arh andrew.hu...@2e-systems.com wrote:
Thanks for the feedback,
It looks like we are talking about
Hi ,
You can use
SpringCamelContext.springCamelContext(applicationContext);
to create a SpringCamelContext from an applicationContext.
Willem
ee7arh wrote:
Too add a bit more information
I found the code which throws this error in the camel source base:
public
Hi,
i've got an error when trying to create my mina endpoint with spring dsl :
bean id=myCodec class=com.example.MyProtocolCodecFactory
/bean
bean id=myMinaFactory
class=org.apache.camel.component.mina.MinaComponent/
bean id=myMinaEndpoint
This is the dependecy reported by maven
[INFO] [dependency:list]
[INFO]
[INFO] The following files have been resolved:
[INFO]aopalliance:aopalliance:jar:1.0:compile
[INFO]backport-util-concurrent:backport-util-concurrent:jar:2.1:compile
[INFO]
Hi
You should use ref to refer to another spring bean
property name=codec ref=myCodec /
value is for string litterals, numbers and such.
On Thu, Mar 5, 2009 at 9:55 AM, Nicolas Bouillon nico...@bouil.org wrote:
Hi,
i've got an error when trying to create my mina endpoint with spring dsl :
I've already tried that. But the codec property IS a string property,
and then i got the following error :
Caused by: org.springframework.beans.TypeMismatchException: Failed to
convert property value of type [com.example.MyProtocolCodecFactory] to
required type [java.lang.String] for property
Why don't you use the RouterBuilder if you are using the Spring
configuration file to scan the builders?
Willem
andrew.hu...@2e-systems.com wrote:
Thanks,
Any idea if this would be possible to do via XML? The problem occurs when
Spring scans my packages during startup and finds a
Should I create my Endpoints such they are attached to my CamelContext ?
On Thu, Mar 5, 2009 at 10:21, Claus Ibsen claus.ib...@gmail.com wrote:
Hi
Sorry yeah its a string as this was how its done in Camel 1.x
We could change it to a real ProtocolCodecFactory object instead of
String and
Hi,
When I tryto use the functions splitter() or multicast() in my DSL
within a choice() block, I am not able to have another when() or even an
otherwise()
Predicate isInvitation
= PredicateBuilder.regex(header(event_type), invitation);
Predicate isReply
=
The reason is that I want to use Transactions and as far as I know, only
Spring supports this with PROPOGATION_REQUIRED.
Following line does not compile in standard RouteBulder:
Policy required
= new SpringTransactionPolicy(bean(TransactionTemplate.class,
PROPAGATION_REQUIRED));
If
Hi
Since the myMinaEndpoint is created by the myMinaFactory which has not
the reference from the application context which can be referred by the
camelContext .
So the myMinaEndpoint can't get find the instance of myCodec.
My suggestion is adding a constructor-arg of the camel context under the
On Thu, Mar 5, 2009 at 10:31 AM, Willem Jiang willem.ji...@gmail.com wrote:
Hi
Since the myMinaEndpoint is created by the myMinaFactory which has not
the reference from the application context which can be referred by the
camelContext .
So the myMinaEndpoint can't get find the instance of
If you create your bundle using maven and the maven bundle plugin, add the
following to the plugin configuraiton:
plugin
groupIdorg.apache.felix/groupId
artifactIdmaven-bundle-plugin/artifactId
configuration
Thanks ! This way it works.
bean id=myCodec class=com.example.MyProtocolCodecFactory
/bean
bean id=myMinaFactory
class=org.apache.camel.component.mina.MinaComponent
constructor-arg index=0 ref=camel /
/bean
bean
On Thu, Mar 5, 2009 at 10:25 AM, ee7arh andrew.hu...@2e-systems.com wrote:
Hi,
When I tryto use the functions splitter() or multicast() in my DSL
within a choice() block, I am not able to have another when() or even an
otherwise()
Predicate isInvitation
=
Thanks,
The only issue I now foresee by connecting sub-routes together by either
direct: or seda: is when I am trying to use transactions.
I am trying to build an application using Camel / ActiveMQ which can never
lose a message. My whole application is based arount the camel routing and I
want
Guillaume,
Don't ask why but I have done today a clean reinstallation of my bundles and
now everything works fine without adding require-bundle.
Here is my list :
START LEVEL 100
ID State Spring Level Name
[ 0] [Active ] [ ] [0] System Bundle (1.5.0.SNAPSHOT)
On Thu, Mar 5, 2009 at 9:46 AM, Claus Ibsen claus.ib...@gmail.com wrote:
However, it's invoking the web service twice - I'm seeing output from
two invocations of the web service:
sayHi called
sayHi called
Any idea why it's invoking it twice instead of just once?
I have before been tricked
On Thu, Mar 5, 2009 at 5:50 PM, Bruce Snyder bruce.sny...@gmail.com wrote:
On Wed, Mar 4, 2009 at 10:55 PM, Claus Ibsen claus.ib...@gmail.com wrote:
There is a setHeader tag you can use to add the header, just like
the Java DSL below.
It might use a expression as subtype so you need to wrap it
On Thu, Mar 5, 2009 at 9:59 AM, Claus Ibsen claus.ib...@gmail.com wrote:
If it is possible then I have fixed that in 1.6.1-SNAPSHOT or
2.0-SNAPSHOT by disabling DOT by default.
Looks like it hasn't been deployed yet, so I'm having to build it locally.
btw the parameter for camel:run is
On Thu, Mar 5, 2009 at 6:42 PM, Bruce Snyder bruce.sny...@gmail.com wrote:
On Thu, Mar 5, 2009 at 9:59 AM, Claus Ibsen claus.ib...@gmail.com wrote:
If it is possible then I have fixed that in 1.6.1-SNAPSHOT or
2.0-SNAPSHOT by disabling DOT by default.
Looks like it hasn't been deployed yet,
Thanks for the clarification, working with Camel in a Maven project in
NetBeans works great.
Unfortunately, I have to use it in an Ant build project, so I have to care
for resolving the dependencies myself. Is there a way to help me doing this
with Maven, e.g. by bundling all dependencies I need
On Thu, Mar 5, 2009 at 9:31 AM, Bruce Snyder bruce.sny...@gmail.com wrote:
Thanks for the advice, Willem. I incorrectly assumed that the
camel-cxf module must be used to invoke a web service.
The invocation is now working with the following route:
route
from
On Thu, Mar 5, 2009 at 3:23 PM, Bruce Snyder bruce.sny...@gmail.com wrote:
On Thu, Mar 5, 2009 at 9:31 AM, Bruce Snyder bruce.sny...@gmail.com wrote:
Thanks for the advice, Willem. I incorrectly assumed that the
camel-cxf module must be used to invoke a web service.
The invocation is now
On Thu, Mar 5, 2009 at 8:41 PM, m.s. mathis.schwuc...@web.de wrote:
Thanks for the clarification, working with Camel in a Maven project in
NetBeans works great.
Unfortunately, I have to use it in an Ant build project, so I have to care
for resolving the dependencies myself. Is there a way to
The patch is in trunk (Camel 2.0-SNAPSHOT) and 1.x branch (Camel
1.6.1-SNAPSHOT).
Please let me know if the error still bother you.
Willem
atlep wrote:
No they don't..
I peeked into the code that tries to load the QueueBrowserStrategy, and it
seemt that it doesnt try the
28 matches
Mail list logo