On Tue, May 10, 2011 at 8:03 PM, cmveal wrote:
> I've been trying to figure out how graceful shutdown works with aggregator
> and shutdownRunningTask="CompleteAllTasks".
>
> If I use a completionInterval="5000", would that mean that my messages
> successfully get processed given that shutdown take
On Wed, May 11, 2011 at 4:12 PM, Chris Richmond
wrote:
> I finally successfully got CXF service being served at a Camel consumer
> endpoint, where TestService has the interface annotated method which I can
> call from a .NET soap client no problem:
>
> @WebMethod(operationName="EchoValue")
> @We
On Tue, May 10, 2011 at 11:20 AM, Christian Mueller
wrote:
> No opinions about this?
>
I think its a good idea if we can do it using pure standard SQL so it
works with any database.
Feel free to create a JIRA ticket so we can track this.
> Best,
> christian
>
> --
> View this message in context
Thank you, I discovered exactly what you said and did not use the
dataformat and it starts fine, but now when I try to call my same
initial webmethod(not the new multiparameter method) I get the following.
org.apache.camel.component.bean.AmbiguousMethodCallException: Ambiguous
method invocati
Oh, CamelSpringTestSupport doesn't support @Autowired annotation.
That annotation is part of Spring test framework, you need to extends
your test with the Spring test one.
On 5/10/11 4:25 PM, Xavier Coulon wrote:
Hello,
I'm running into a NullPointerException in my test case below:
public cl
On 5/11/11 2:09 PM, Chris Richmond wrote:
I should add that at first I did not generate artifacts from the wsdl,
as when I was running in a pure CXF server application my interface and
implementation class for my web service I allowed to generate my WSDL
automatically from the CXF stack/URL.
I s
Hi,
You are using camel-cxf and soap dataformat at the same time.
Either of them can do the job for you.
Please check the document of camel-cxf[1] and came-soap[2]
[1]http://camel.apache.org/cxf.html#CXF-HowtoconsumeamessagefromacamelcxfendpointinPOJOdataformat
[2]http://camel.apache.org/soap.h
I finally successfully got CXF service being served at a Camel consumer
endpoint, where TestService has the interface annotated method which I
can call from a .NET soap client no problem:
@WebMethod(operationName="EchoValue")
@WebResult(name = "EchoResponse", targetNamespace =
"http://comp
one quick way around this is to do the following...
@ContextConfiguration
public class MyActivityMonitorTestCase extends
AbstractJUnit38SpringContextTests {
...
see
http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/bean/BeanRouteUsingSprin
for the aggregator...use both completionSize and completionTimeout to make
sure exchanges aren't left hanging (forever theoretically). In general, if
you use a shutdown strategy timeout greater than your completionTimeout and
you should be covered (assuming the rest of your route if relatively qui
Hello Guillaume,
thanks for your response. Ade asked me to put this question also in the fuse
mailing list and added your answer.
We will wait a bit to migrate to Blueprint until there is a well proved
testing framework (the one you suggested or Pax 2).
Best,
Christian
Hi segev,
You have a few options here.
When you want to build SOAP-based web services with Camel but without CXF
you can choose either:
- Spring-WS component: http://camel.apache.org/spring-web-services.html
- SOAP dataformat (JAX-WS/JAXB based): http://camel.apache.org/soap
Note that JBossWS (p
Figured it out. The abstract class that I wrote had a
@ManagedResource annotation in it that messed everything up. Not sure
why, but it did.
On Tue, May 10, 2011 at 10:45 AM, Mark W wrote:
> I have a bunch of processors that I have defined in a route that I
> manage through JMX. I recently u
I should add that at first I did not generate artifacts from the wsdl,
as when I was running in a pure CXF server application my interface and
implementation class for my web service I allowed to generate my WSDL
automatically from the CXF stack/URL.
I should also ask if there is a single exam
I've been trying to figure out how graceful shutdown works with aggregator
and shutdownRunningTask="CompleteAllTasks".
If I use a completionInterval="5000", would that mean that my messages
successfully get processed given that shutdown takes longer than 5 seconds?
Would shutdownRoute="Defer" help
Yes, I did and then added all those classes to my project(eclipse) I
have the ObjectFactory.java which it created for me in my project as
well. Is there some possibility that it needs a pre-compiled
ObjectFactory.class in a .jar or otherwise? I seem to recall something
related to JAX-WS or J
Thanks, I have updated the lastest version.The problem have been solved.But
what is reason of the problem in camel2.7.Why the "Enumeration e" is
empty ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-5-0-startup-exception-tp4381307p4385020.html
Sent from the Camel - Us
I have a bunch of processors that I have defined in a route that I
manage through JMX. I recently upgraded to ActiveMQ 5.5.0 and Camel
2.7.0 and now I see that I don't have those operations anymore for the
processors.
All of my processors extend an abstract class that I wrote, which
implements or
after having talked with Claus on IRC i tried to look how to implement his
idea:
from(...).bean(XXX.class, "myMethod(${header.myHeader}, ${body}").to(...).
But i don't understand something: method are managed from BeanInfo and
MethodInfo. Where is the link with the route?
In other word how can i
On 5/10/11 4:29 PM, Bingliu wrote:
I got the source of camel-2.4.0 and copied the
org.apache.camel.impl.osgi.Activator.The sentence
--
Enumeration e = bundle.findEntries("/" + pkg.replace('.', '/'),
"*.class", true);
-
As said you need camel-spring as well, as it has the spring-dm osgi support.
On Tue, May 10, 2011 at 1:35 PM, Bingliu wrote:
> I don't use the equinox which is the osgi environment of eclipse, i use the
> standard osgi framework.The eclipse is only a development tools.The
> camel-eclipse must be
On Sun, May 8, 2011 at 1:44 PM, Tarjei Huse wrote:
> Hi,
>
> I got a route like this:
> from(bookKeeperQueue).routeId("BookKeeperRoute")
> .process(new BookKeeperProcessor(bookKeeper));
>
> That I would like to test by appending a mock endpoint to the route and
> avaiting for it to rece
I don't use the equinox which is the osgi environment of eclipse, i use the
standard osgi framework.The eclipse is only a development tools.The
camel-eclipse must be import?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-2-5-0-startup-exception-tp4381307p4384242.html
Sen
Our main integration system is Oracle based and runs on Weblogic, we have
other Java based system utilizing JBoss and Tomcat/Spring.
I find Camel as an appealing light weight integration solution that we could
use to supplement our other integration systems and preferably use across
different platf
No opinions about this?
Best,
christian
--
View this message in context:
http://camel.465427.n5.nabble.com/Improvement-of-the-Idempotent-Repository-tp4282010p4384036.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On 5/10/11 4:29 PM, Bingliu wrote:
In eclipse, i import camel-core-2.7.0.jar and camel-spring-2.7.0 as
"plug-ins and fragments".
I create a new plugin which define the spring-camel configuration.
Yesterday, I have tried to use the camel-2.4.0.The exception was as same as
v2.7.
I got the source of
Hi,
Did you generate the DataService artifacts from WSDL?
If not, you may need to add the ObjectFactory.class or jaxb.index file
to help the JAXB to create a right context for you.
Willem
On 5/10/11 7:41 PM, Chris Richmond wrote:
Listed below is a simple isolated class which attempts to ser
you need camel-spring as well. It has the osgi integration.
When Camel startup it logs if OSGi environment was found or not. Keep
an eye on that log and see what it logs in your environment.
On Tue, May 10, 2011 at 10:29 AM, Bingliu wrote:
> Thanks,Claus.The excpetion also has been thrown if i
Thanks,Claus.The excpetion also has been thrown if i use v2.7.But the
exception is not same.Use v2.7 the exception is:
严重: Application context refresh failed
(OsgiBundleXmlApplicationContext(bundle=
Hello,
I'm running into a NullPointerException in my test case below:
public class MyActivityMonitorTestCase
extends CamelSpringTestSupport {
@Autowired
private MyActivityMonitor activityMonitor;
@EndpointInject(uri = "mock:mock")
private MockEndpoint mockEndpoint;
@Override
protected Abstract
The XPath expression allows you to use namespace prefixes, so do that
So if you have foo and bar as namespace prefix then do like shown here
http://camel.apache.org/xpath
On Mon, May 9, 2011 at 11:54 PM, ychawla wrote:
> Hello All,
> This definetly seems like a bug. Does anyone know if a JIRA
Here is away to do the job by using the Java DSL.
You can find an unit test for it here[1]
[1]
https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/builder/xml/XPathNamespaceResultTypeTest.java
Willem
On 2/17/11 7:32 AM, tecoripa wrote:
Unfortunately, no.
On Tue, May 10, 2011 at 10:04 AM, Willem Jiang wrote:
> Can you try to use the Camel 2.8-SNAPSHOT ?
> Claus did some changes on the type converter recently, maybe the issue that
> you meet is already fixed yet.
>
Well and that we keep improving OSGi in the latest releases. So that
may also help a
Can you try to use the Camel 2.8-SNAPSHOT ?
Claus did some changes on the type converter recently, maybe the issue
that you meet is already fixed yet.
Willem
On 5/10/11 3:24 PM, Claus Ibsen wrote:
Hi
Can you upgrade to latest released version of Camel.
That may help your issue.
And only if
I have added a note in the javadoc of the ScheduledPollConsumer
On Tue, May 10, 2011 at 9:17 AM, edge wrote:
> ok that makes sense but I think the API could improve there. Perhaps using a
> Duration instead of a separate unit and delay would be better.
>
> --
> View this message in context:
> h
Hi,
I just changed the settings to remove the property
"acknowledgementModeName", and I still lost a message.
I was able to reproduce the problem in a test project, I send its
spring configuration as an attachement.
On Tue, May 10, 2011 at 8:40 AM, Claus Ibsen wrote:
> Remove this
>
>
>
Hi,
I saw that this topic has been discussed several times before and realize
that the Java has its limitations there. We are facing the same problem with
split() in combination with doTry/doCatch().
Could you also add a method "endDoTry()" to the ProcessorDefinition? My use
case is this:
@Ov
Hi
Can you upgrade to latest released version of Camel.
That may help your issue.
And only if there is still a problem with the latest source code, we
would be more willing to dive into the issue.
On Tue, May 10, 2011 at 9:11 AM, Bingliu wrote:
> Hi, willem, I send a simple test workspace of
ok that makes sense but I think the API could improve there. Perhaps using a
Duration instead of a separate unit and delay would be better.
--
View this message in context:
http://camel.465427.n5.nabble.com/ScheduledPollConsumer-bug-tp4381448p4383845.html
Sent from the Camel - Users mailing list
Here is a Processor that works on ZIP files:
import org.apache.camel.util.ExchangeHelper;
import org.apache.camel.util.IOHelper;
public class ZipFileSplittingProcessor implements Processor {
public void process(Exchange exchange) throws Exception {
InputStream is = ExchangeHelper.get
Hi, willem, I send a simple test workspace of eclipse to you.The exception
has been thrown when the osgi environment started.I use the spring sts
tools.The version of spring is 3.0.5.
http://camel.465427.n5.nabble.com/file/n4383823/laboratory.part01.rar
laboratory.part01.rar
http://camel.465427.n5
41 matches
Mail list logo