Hi,
Just if someone has the same questions again, I'll answer my own question.
I have had a look into the coding of the resequencer. If I understand this
correctly the entries are stored within a single tree set. This means that
there are no pluggable (and potentially persistent) repositories
Hi
I logged a ticket to not forget about it
https://issues.apache.org/jira/browse/CAMEL-7502
Jose, you are welcome to work on patch to submit
http://camel.apache.org/contributing.html
On Wed, Jun 4, 2014 at 3:42 AM, Christian Posta
wrote:
> Open a JIRA and submit your patch.
>
>
> On Mon, Jun 2
Hi
You may want to use @MockEndpointsAndSkip so you do not call the SQL component.
The camel-spring-test with the annotations was added to Camel later,
after the book was published.
But you can find the annotations and more details here
http://camel.apache.org/spring-testing.html
But as the SQL
Awesome, you got that bit working.
To get the mock end point to behave a certain way once it receives an exchange,
you can do something like
endpoint.whenAnyExchangeReceived(new Processor() {
@Override
public void process(Exchange exchange) throws
Nope, my routes are defined using the Java DSL, not XML. Changing from:
@ContextConfiguration(classes = CamelConfig.class)
To:
@ContextConfiguration(loader = CamelSpringDelegatingTestContextLoader.class,
classes = CamelConfig.class)
Solved my problem.
I don't know if the regex needs to change
It appears to me like you have your routes defined in xml and not actually in
JavaConfig? In that case, you can simplify your configuration even further and
not refer to your JavaConfig class like this
@RunWith(CamelSpringJUnit4ClassRunner.class)
@ContextConfiguration(loader = CamelSpringDelegat
Thanks for your advice. Here's my attempt to modify my test to use
CamelSpringJUnit4ClassRunner and annotations to mock my SQL endpoint.
@RunWith(CamelSpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = CamelConfig.class)
@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_
If you're using Spring, I recommend not extending any of the Camel Test classes
and using the Camel Enhanced Spring Test as described here
http://camel.apache.org/spring-testing.html
The docs take a bit of getting use to because it describes several different
ways of testing via Spring but you j
Sergey,
Thanks for the laugh and the help - both were sorely needed.
John
On 6/11/14 1:10 PM, Sergey Beryozkin wrote:
This is a CXF question after all, why would you not ask at CXF users :-) ?
This appears to be a blueprint specific issue, use ""
Cheers, Sergey
On 11/06/14 18:23, John Dubchak
Thanks for the advice. I bought the book, read chapter 6 and I'm trying to use
the advice builder. Chapter 6 talks about using mocks quite a bit, which seems
useful in building a route, but not when it's already built.
My routes are configured with Spring and JavaConfig in a CamelConfig class.
Dear Camel enthusiast,
As you may be aware, ApacheCon will be held this year in Budapest, on
November 17-23. (See http://apachecon.eu for more info.)
The Call For Papers for that conference is still open, but will be
closing soon. We need you talk proposals, to represent Camel at
ApacheCon. We ne
This is a CXF question after all, why would you not ask at CXF users :-) ?
This appears to be a blueprint specific issue, use "component-id="jsonProvider"/>"
Cheers, Sergey
On 11/06/14 18:23, John Dubchak wrote:
Hi,
The more I think about it, this is likely a CXF question not a Camel
question.
Ooops. I thought I was posting on CXF forum.
I move this question, see you there
http://cxf.547215.n5.nabble.com/JAXRS-client-proxy-and-HTTP-Conduits-td5745021.html
--
View this message in context:
http://camel.465427.n5.nabble.com/JAXRS-client-proxy-and-HTTP-Conduits-tp5752164p5752171.html
Sen
Hi
Yeah if you have Camel in Action book, read chapter 6.
And see bottom of this page
http://camel.apache.org/testing
The advice builder is quite nifty and can "rework" the routes before testing.
On Wed, Jun 11, 2014 at 8:10 PM, Matt Raible wrote:
> Hello,
>
> I have a route that looks as fol
Hello,
I have a route that looks as follows:
from(uri)
.to("log:input")
.recipientList(simple("direct:${header.operationName}"));
from("direct:lookup")
.process(new Pro
Good day! My name is Carl and I'm a specialist here in PayPal Products
and Site Support. My interest is to provide you with the best resolution
to your concern.
In my effort to help you, I searched your PayPal account using your
email address users@camel.apache.org but I was not able to locate
Hi,
The more I think about it, this is likely a CXF question not a Camel
question. However, I am not a member of the CXF list and I suspect when
I say I am using the CXF version in Camel 2.12.3, I would end up here.
Apologies if I should not have posted here.
That being said, I have created
Hello,
How are Conduits and HTTP Client endpoints bound together?
This example works:
This example doesn't work, conduit is not applied on JAXRS client proxy:
Using CXF 2.6.6 / ServiceMix 4.5.1
Gérald
--
View this message in context:
http://camel.465427.n5.nabble.com/JAXRS-client-proxy-
I have the following from endpoint to read files:
file:{{filepath.odctocmcls}}?initialDelay=21&delay=6&readLock=changed&readLockCheckInterval=60&readLockTimeout=600500&idempotent=true&inProgressRepository=#jdbcIdempotentRepo&idempotentRepository=#jdbcIdempotentRepo&preMove={{filepathpro
Hi Willem,
Thanks for your suggestion. We configured the producer endpoints to
synchronous and re-ran the load test. We ran two versions in parallel - one
with asynchronous (default) and the other with synchronous. In our load
test that ran about 12 hrs continuously we observed two stuck threads
I think you have a problem because the URI is wrong. I don't think you can
create a URI without URLEncoding the URI. Furthermore, I have never been a
fan of embedding SQL in the URI which is why I prefer the SQL component
over the JDBC one. What I would try is something like:
.setHeader(SqlConstan
I would go take a look at the activemq.xml in the standard distribution.
Download it and unpack it and compare it line by line. It will probably
turn out to be something small.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*Link
Hi,
I have some questions about the resequencer EIP, I didn't manage to find in the
documentation.
1. Is it possible to have multiple sequences within the same route?
I have multiple orders with an order number. Each of the order number is split
into multiple parts that are sent separat
I just commit a quick fix in master branch[1], as it’s a new feature for camel,
I don’t have plan to merge it to other branches. You can merge it back to other
camel branch if you like.
[1]https://issues.apache.org/jira/browse/CAMEL-7491
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.c
Sorry, i made a type error pacakge name should be com.nono.types instead of
com.nono.type, i re-tried it, but same problem
wsdl and package name alreadyd updated in the post thread!
wsdl should be correct
it is generated against below service interface package com.nono;
import javax.jws.WebServic
Would anyone have any ideas about why I would get this Exception when
restarting (calling start after having called stop earlier) the
PooledConnectionFactory:
javax.jms.JMSException: Error while attempting to add new Connection to the
pool
at
org.apache.activemq.util.JMSExceptionSupport.c
Hi Claus.
So this does in fact work with a pooled JMS connection. However, we are
using a org.springframework.jms.connection.CachingConnectionFactory. Is it
possible to unregister the consumers when using a caching connection
factory?
Thanks for your help!
--
View this message in context:
h
27 matches
Mail list logo