On Tue, Mar 29, 2011 at 4:36 AM, dead_devil_66 wrote:
> Greetings.
>
> I'm getting an error after importing the example project camel-example-cxf.
> The error is in the pom.xml. This is what i get:
>
> Project build error: Non-resolvable parent POM: Could not find artifact
> org.apache.camel:examp
Hi
See this FAQ
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
And change your logic to set the answer on the IN thats just much
easier, in the HelloProcessor.
On Mon, Mar 28, 2011 at 10:02 PM, Mike L. wrote:
>
> Claus:
>
> Thank you very much for your response. However
Hello,
I have issues on using Camel in Eclipse Equinox (my goal is to create
Eclipse plugin with Camel support). First of all, I'm trying to run
camel-example-osgi. I managed to run it under Apache Karaf (with
Equinox set as framework in config) as there were good tutorials, but
not bare Eclipse E
It's harmless to provide the bundle of camel-core-osgi in camel.
I just created a JIRA[1] of it, we will provide a bundle of
camel-core-osgi in Camel 2.8.0.
[1]https://issues.apache.org/jira/browse/CAMEL-3814
Willem
On 3/29/11 1:17 PM, Donald Whytock wrote:
Thanks, I'll try that.
Shall I as
Thanks, I'll try that.
Shall I assume this is going to be the standard architecture? As in,
if/when there's a 2.8, I should expect to need to re-bundle
camel-core-osgi again?
Don
On Mon, Mar 28, 2011 at 11:10 PM, Willem Jiang wrote:
> As we shipped the camel-spring and camel-blueprint at the s
As we shipped the camel-spring and camel-blueprint at the same time, so
the org.apache.camel.core.osgi is not exported as public class.
The reason that we don't create another bundle of camel-core-osgi, is
camel-spring bundle detect OSGi and no-OSGi environment rightly. Which
means we could let
You can create a customer bundle which use bnd to add the
camel-core-osgi into your bundle, then you can create a
OsgiDefaultCamelContext yourself without any help of Spring or Blueprint.
Willem
On 3/26/11 3:05 AM, Scott England-Sullivan wrote:
If a project doesn't use Spring or Blueprint how
Greetings.
I'm getting an error after importing the example project camel-example-cxf.
The error is in the pom.xml. This is what i get:
Project build error: Non-resolvable parent POM: Could not find artifact
org.apache.camel:examples:pom:
2.8-SNAPSHOT and 'parent.relativePath' points at wrong lo
Okay...added camel-blueprint-2.7.0.jar, which required
org.apache.aries.blueprint-0.3.jar, which required
org.apache.aries.proxy-0.3.jar, which required
org.apache.aries.util-0.3.jar, asm-3.3.1.jar and
org.apache.felix.configadmin-1.0.4.jar.
Tried creating an OsgiDefaultCamelContext, which worked
Claus:
Thank you very much for your response. However, using the few test classes I
wrote which illustrate the problem I have been running them on the same box (my
local dev machine). So, the two test classes as well as ActiveMQ are all
running locally...
Any help would be greatly appreciated
Is this what you are pointing me to? .skipSendToOriginalEndpoint()
How do I use this in my spring xml routes?
On Mon, Mar 28, 2011 at 7:02 PM, Claus Ibsen wrote:
> See
> http://camel.apache.org/advicewith.html
>
> On Mon, Mar 28, 2011 at 7:47 PM, Tom Howe wrote:
> > I have a route such as:
>
See
http://camel.apache.org/advicewith.html
On Mon, Mar 28, 2011 at 7:47 PM, Tom Howe wrote:
> I have a route such as:
>
> http://camel.apache.org/schema/spring";>
>
> ...
>
>
>
> If I set up mocking, using a wrapper xml file containing:
>
> class="org.apache.cam
I have a route such as:
http://camel.apache.org/schema/spring";>
...
If I set up mocking, using a wrapper xml file containing:
I can now intercept the endpoints to see what was sent but how to I prevent
the test from connecting to activemq and the remote h
Hm, my other endpoints - mina, rest etc are still being activated.
How do I properly mock those out so they do not try to connect to external
systems?
On Mon, Mar 28, 2011 at 5:49 PM, Tom Howe wrote:
> I seem to have got it working by changing activemq to a DirectComponent for
> the test.. is
I seem to have got it working by changing activemq to a DirectComponent for
the test.. is this considered good practice?
On Mon, Mar 28, 2011 at 5:32 PM, Tom Howe wrote:
> Also - if I change the test xml to
>
>
>
>
>
>
Also - if I change the test xml to
and the test to :
public void testAdvisedMockEndpoints() throws Exception {
getMockEndpoint("mock:direct:start").expectedBodiesReceived("Hello
World");
template.sendBody("direct:start", "Hello World"
ok, I have copied the test from
https://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/mock/InterceptSendToMockEndpointStrategyTest.java
and got that working by changing from SpringTestSupport to
CamelSpringTestSupport.
Then I tried to reduce i
Use
template.sendBody("direct:start", "blah");
Instead of
> template.sendBody("mock:direct:start", "blah");
And mind that the test your picked is using the new auto mock feature
(mock existing endpoints) from Camel 2.7
http://camel.apache.org/mock.html
On Mon, Mar 28, 2011 a
The spring-testing.html doesnt mention CamelSpringTestSupport. Im not sure
where to look in camel test suite.
I tried this..
public class SimpleRouteTest extends CamelSpringTestSupport {
@Override
protected AbstractXmlApplicationContext createApplicationContext() {
return new Cla
On Mon, Mar 28, 2011 at 5:34 PM, Tom Howe wrote:
> I've read the testing page but it doesnt give any good eaxmple of using
> spring xml routes
>
There is more here
http://camel.apache.org/spring-testing.html
> Can you point me to an example of CamelSpringTestSupport ? I cant see any
> docs on i
I've read the testing page but it doesnt give any good eaxmple of using
spring xml routes
Can you point me to an example of CamelSpringTestSupport ? I cant see any
docs on it's usage?
Thanks, Tom
On Mon, Mar 28, 2011 at 4:27 PM, Claus Ibsen wrote:
> Hi
>
> Check out this page
> http://camel.ap
Hi
Check out this page
http://camel.apache.org/testing
You can then use any IoC means to inject the mocks, such as
@EndpointInjected or any of the Spring or the new @Resource from JDK6
etc.
Also you can extend CamelSpringTestSupport which allows you to load a
Spring XML file.
Thats often what we
I have a routes defined in CamelRoutes.xml and I would like to test them by
using the wrapping technique described at the bottom of
http://camel.apache.org/mock.html.
My CamelRoutes.xml
http://camel.apache.org/schema/spring
">
So I created CamelRoutesTest.x
Thank you very much
--
View this message in context:
http://camel.465427.n5.nabble.com/Add-a-Processor-to-a-route-at-runtime-tp4257724p4267611.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Look at the unit of work on the exchange as it contains message
history details. In rhe the current route id as well.
On Monday, March 28, 2011, JacobS wrote:
> Thanks the java predicate works but I still have problem identifying the
> route that is being checked for interception.
> I tried usi
Thanks the java predicate works but I still have problem identifying the
route that is being checked for interception.
I tried using the 'exchange.getFromEndpoint().getEndpointUri()' but this
only returns the endpoint which originated this message exchange .
Is there a way to get the RouteId in
This is my first post to this list, and I declare myself a Camel newbie. Let
me start by first saying that Camel is great; a big thanks to the whole team
for such a wonderful piece of engineering.
I have been searching for some time now for a new way (to me) to build a
service architecture, to
Hi Claus, I've seen you closed the ticket and added a unit test. The unit
test uses mock up endpoint which does not show the wrong behaviour.
The test I've attached to the ticket does not make use of custom thread pool
as you've reported:
from("direct:start").recipientList(header(InterceptSendToEn
28 matches
Mail list logo