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 contextclas
I did a quick fix for CAMEL-1426. The patch is submitted in the trunk and
1.x-branch.
Please check out Camel 1.6.1-SNAPSHOT or 2.0-SNAPSHOT for verifaction.
Willem
willem.jiang wrote:
>
> I see and just created a JIRA[1] to track your issue.
> It should be easy to fix :)
>
> [1] https://issu
On Thu, Mar 5, 2009 at 8:41 PM, m.s. 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 help me doing this
On Thu, Mar 5, 2009 at 3:23 PM, Bruce Snyder wrote:
> On Thu, Mar 5, 2009 at 9:31 AM, Bruce Snyder 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:
>>
>
On Thu, Mar 5, 2009 at 9:31 AM, Bruce Snyder 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:
>
>
>
> http://localhost:9002/HelloWorld"/>
>
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 i
On Thu, Mar 5, 2009 at 10:45 AM, Claus Ibsen wrote:
> Can you try
> mvn dependency:list
> to see if it got log4j in there.
>
> Maybe compare it with the example that worked.
We're thinking alike as I was already doing that via m2e and realized
I was missing Log4J.
Bruce
--
perl -e 'print
un
On Thu, Mar 5, 2009 at 6:42 PM, Bruce Snyder wrote:
> On Thu, Mar 5, 2009 at 9:59 AM, Claus Ibsen 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.
>
On Thu, Mar 5, 2009 at 9:59 AM, Claus Ibsen 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 dotEnabled, where as its
Hi Bob
Thanks for updating the FAQ. This is great what you wrote/added.
We are looking into how we in the future can let Camel components be a
bit smarter how they register them self.
This will allow us to detect components that wont be able to run due
to missing 3rd part .jars.
That would in th
On Thu, Mar 5, 2009 at 5:57 PM, Bruce Snyder wrote:
> On Thu, Mar 5, 2009 at 9:46 AM, Claus Ibsen 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
On Thu, Mar 5, 2009 at 5:50 PM, Bruce Snyder wrote:
> On Wed, Mar 4, 2009 at 10:55 PM, Claus Ibsen wrote:
>> There is a 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 with
>> for string litterals
>>
>> Something
On Thu, Mar 5, 2009 at 9:46 AM, Claus Ibsen 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 by log
Thanks to Claus Ibsen, a workaround for this problem has been described in
http://cwiki.apache.org/confluence/display/CAMEL/Why+do+Camel+throw+so+many+NoClassDefFoundException+on+startup
the Camel FAQ . Briefly, the workaround is to remove the large jar
apache-camel-x.x.x.jar from your classpath,
On Wed, Mar 4, 2009 at 10:55 PM, Claus Ibsen wrote:
> There is a 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 with
> for string litterals
>
> Something like this:
> Bar
Thanks, Claus. I missed this element in th
On Thu, Mar 5, 2009 at 5:31 PM, Bruce Snyder wrote:
> On Wed, Mar 4, 2009 at 10:54 PM, Willem Jiang wrote:
>> Hi Bruce,
>>
>> If you already has the request message from the file endpoint, you just
>> need to use http endpoint to call the external web service like this.
>>
>> http://activemq.apac
On Wed, Mar 4, 2009 at 10:54 PM, Willem Jiang wrote:
> Hi Bruce,
>
> If you already has the request message from the file endpoint, you just
> need to use http endpoint to call the external web service like this.
>
> http://activemq.apache.org/camel/schema/spring";>
> com.mycompany.camel
>
On Thu, Mar 5, 2009 at 12:33 PM, akuhtz wrote:
>
> There is currently no code to unsubscribe a durable subscriber as Camel uses
> the XXMessageListenerContainer classes from the spring framework and inside
> the spring code there is no unsubscribe code. I solved this yesterday by
> making a copy o
Good news; the 1.6.1-SNAPSHOT release had a big performance impact.
In my benchmarking the mean execution of the test case went from 8.5ms to
around 1ms. This is a great improvement!
I did a little work with the profiler running and I didn't see the issue
with the Exceptions anymore. There are s
Many thanks Willem.
I will check my config.
willem.jiang wrote:
>
> Hi Charles,
>
> I just noticed that your response message is
> org.apache.camel.example.reportincident.domain.OutputReportIncident
> and You request message using this QName.
> {http://reportincident.example.camel.apache.org}
Yes. we don't ship all the dependencies in the binary distribution.
Because Camel has lots of components if we ship all the dependency jars,
the binary could be up to more than 100MB.
Fortunately maven could help us to do that kind of work :)
Willem
m.s. wrote:
> Thanks, it works when I use Maven
Oh, I just found you need to pass the ReportIncidentEndpoint not the
ReportIncidentEndpointService as the ServiceClass.
Basically, the ServiceClass could be the SEI (service endpoint
interface), if the cxf endpoint server as a consumer , we could pass the
implemenation of the SEI as the serviceClas
Thanks, it works when I use Maven to download all the .jars listed in the
dependency list and add them to the libraries in the NetBeans IDE.
So is it correct that the binary distribution does not contain all
dependencies if I use the JMS Component or aother component?
M.S.
--
View this message
Hi Charles,
I just noticed that your response message is
org.apache.camel.example.reportincident.domain.OutputReportIncident
and You request message using this QName.
{http://reportincident.example.camel.apache.org}ReportIncident
So please check your backend WebService's wsdl file and
wsdl/report
Hi Joe
I had a look at it.
The problem really comes down to the fact that Spring is handling the
stop order of AMQ and Camel.
So when AMQ is stopped first then Camel gets this exception when it
tries to stop its JMS queue listener.
So what is needed is to control the stop order and that is eg. s
Hi,
When we run cxf with camel using the camel-cxf endpoint, the following
message appears in the console :
05-mars-2009 12:59:17
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
checkServiceClassAnnotations
ATTENTION: A JAX-WS Annotation was found on
org.apache.camel.example.reportin
Hi,
Even, if I use the following camel spring DSL,
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:cxf="http://camel.apache.org/schema/cxf";
xsi:schema
Forget what I say, the tracing works very well top of SMX4 or outside osgi
server :
12:43:38,634 | INFO | compon...@4d2125 | TraceInterceptor |
rg.apache.camel.processor.Logger 88 | ID-WDBED0002003-4825-123625338889
9-2-0 >>> --> unmarshal(), Pattern:InOnly,
Properties:{CamelF
On Thu, Mar 5, 2009 at 11:11 AM, ee7arh wrote:
>
> 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 wh
There is currently no code to unsubscribe a durable subscriber as Camel uses
the XXMessageListenerContainer classes from the spring framework and inside
the spring code there is no unsubscribe code. I solved this yesterday by
making a copy of the (in my case) SimpleMessageListenerContainer and add
Hi Willem,
I have retested this morning with your bug fixing and I confirm that
everything works fine ;-)
Many thanks.
Charles
willem.jiang wrote:
>
> Hi,
>
> I created JIRA[1] and did a quick fix for this in camel 2.0-SNAPSHOT
>
> [1]https://issues.apache.org/activemq/browse/CAMEL-1422
>
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)
[
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
On Thu, Mar 5, 2009 at 10:25 AM, ee7arh 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
> = PredicateBuilder.regex(header("even
I see and just created a JIRA[1] to track your issue.
It should be easy to fix :)
[1] https://issues.apache.org/activemq/browse/CAMEL-1426
Willem
ee7arh wrote:
> The reason is that I want to use Transactions and as far as I know, only
> Spring supports this with PROPOGATION_REQUIRED.
>
> Follow
Thanks ! This way it works.
On Thu, Mar 5, 2009 at 10:31, Willem Jiang wrote:
> H
If you create your bundle using maven and the maven bundle plugin, add the
following to the plugin configuraiton:
org.apache.felix
maven-bundle-plugin
...
org.apache.cxf.cxf-bundle
On Thu, Mar 5, 2009 at 10:31 AM, Willem Jiang 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 "myCodec".
>
> My s
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
Guillaume,
Can you explain please what you propose that I do ?
"Could you try adding a Require-Bundle to the cxf
bundle on your own bundle that fail ? "
gnodet wrote:
>
> Got an idea. It may happen that your bundle has been started before the
> CXF
> bundle was started. Could you try addin
On Thu, Mar 5, 2009 at 10:23 AM, Nicolas Bouillon wrote:
> Should I create my Endpoints such they are attached to my CamelContext ?
Yeah the component usually does this automatic. But since Mina is much
harder to configure than regular components we use the createEndpoint
method on the component,
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 t
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
= Predicat
Should I create my Endpoints such they are attached to my CamelContext ?
On Thu, Mar 5, 2009 at 10:21, Claus Ibsen 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 then it should work
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 then it should work
For uri you should use the # notation to lookup the codec.
Btw the NPE you get is because you create it like that using Spring
styl
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 SpringR
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 'cod
Hi
You should use ref to refer to another spring bean
value is for string litterals, numbers and such.
On Thu, Mar 5, 2009 at 9:55 AM, Nicolas Bouillon wrote:
> Hi,
>
> i've got an error when trying to create my mina endpoint with spring dsl :
>
>
>
>
> class="org.apa
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]com.sun.xml.bind:jaxb-impl:jar:2.1.6:compil
Hi,
i've got an error when trying to create my mina endpoint with spring dsl :
I got the following error :
o
Hi
Ah line 50 is the JMS component.
You need the camel-jms on the classpath.
And you also need activemq .jars as well.
On Wed, Mar 4, 2009 at 11:48 PM, m.s. wrote:
>
> When I try to run the CamelJmsToFileExample, I get the exception below. Can
> anyone help to figure out what went wrong?
>
> Ch
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 Application
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 wrote:
> On Thu, Mar 5, 2009 at 9:40 AM, ee7arh wrote:
>>
>> Thanks for the feedback,
>>
>> It looks like we are talking about the same use case. In my example, all my
On Thu, Mar 5, 2009 at 9:40 AM, ee7arh 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 types inheritted from "Obj
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]
Hi,
I created JIRA[1] and did a quick fix for this in camel 2.0-SNAPSHOT
[1]https://issues.apache.org/activemq/browse/CAMEL-1422
Willem
Willem Jiang wrote:
> Hi Charles,
>
> "http://activemq.apache.org/camel/schema/cxfEndpoint"; is the namespace
> which need to support in Camel 1.2.
>>From Cam
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 types inheritted from "Objectn".
So each method did have a different concrete sub-t
57 matches
Mail list logo