Importing the resource sounds like a good idea :-) I tried it but
unfortunately I get the following error:
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'import'. One of
'{http://www.osgi.org/xmlns/blueprint/v1.0.0:description,
Hi,The camel cache implementation which provides an ehcache integration
component forces a serializable object though ehcache allows
non-serializable objects too if clustering is not required. This makes in
unusable for some scenarios. Any specific reason for doing so?Regdslalit
--
View this
Oh, you are using Blueprint.
Current Blueprint doesn't support to import the resource like the Spring does.
You may need to consider export the camel-conetxt as a service and import this
service in another blueprint.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog:
There is 2 kind of properties with Camel
- properties on Exchange
- property placeholder
They are very different. You can find details on the Camel doc if you
search a bit and read.
On Mon, Sep 2, 2013 at 4:06 AM, apara ap...@standardset.com wrote:
Before converting the event to JSON, I would
Aha :-) I tested in Spring and it works.
I think the service approach actually is what I'm looking for, since the
import seems to run the xml-file again, which means if I include it in
many files, camel will try to define the routes in the included files as
many times as it's included.
Where
Hi,
I think you can refer the below mentioned link for creating a service in one
blueprint and use the same service in other blueprint.
http://www.ibm.com/developerworks/xml/library/os-osgiblueprint/index.html
You have to use Service reference managers and Service managers for
Hi all.
I have a problem regarding changing the timer period on the fly. My concrete
problem is that I have around 1.200.000 historic records I need to extract
at one time, and the database table is updated every 24 hours. Furthermore
I'm extracting from a Microsoft SQL database.
My preliminary
Hi,
I think you have more opinions to reach your goal.
One easy solution would be to use the quarz component instead of the
timer. You can configure the quarz component by a cron config. Therefor
you could configure that it should run as many times as you need to
process all rows.
Thanks for your reply
I have a test case like this:
public class CXFTest extends CamelTestSupport {
protected static Endpoint endpoint;
protected static WebServiceTestImpl implementor;
public static String proxyAddress =
CXF client is using the operation qName to look up the request method.
As you specify another targetNamespace which we cannot tell from the SEI
package name, you need to specify the header of
CxfConstants.OPERATION_NAMESPACE at the same time.
--
Willem Jiang
Red Hat, Inc.
Web:
Hi ,
How to handle target invocation exception in camel.The secnario is like this
.If the target in the jaxwsclient throws any invocation exception .The
exception hadler shoud handle the exception and update the database table
with sme error information.What change should i need to make in this
Hi
You can also use a route policy, and then just mark the exchange to
stop if you do not want to route anymore today. Then the timer keeps
running.
There is an onExchangeBegin method where you can mark the exchange to stop with
// mark the exchange to stop continue routing
Hi
There is no specific reason. We welcome contributions so feel free to
log a JIRA and if possible provide a patch with this improvement.
http://camel.apache.org/contributing.html
On Sun, Sep 1, 2013 at 7:11 PM, lmanchanda75 lmanchand...@gmail.com wrote:
Hi,The camel cache implementation
Hi
Do you have the stacktrace for this?
Not sure why blueprint gives you the proxy class, could be that the
osgi registry in camel-core-osgi should detect its a proxy class and
get the target class automatic. But a stacktrace / or sample project
to reproduce would be lovely to play with.
On
Hi Claus,
I have created the following Jira ticket.
https://issues.apache.org/jira/browse/CAMEL-6698
Will work to do the improvement and submit.
Regds
lalit
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-cache-tp5738435p5738509.html
Sent from the Camel - Users
Congratulations! We have ordered a copy, and we are waiting now the delivery
:)
Regards,
Abdellatif
--
View this message in context:
http://camel.465427.n5.nabble.com/New-book-about-Apache-Camel-tp5738426p5738514.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I've a problem calling a REST based service with dynamic uris in combination
with a failover load balancer.
Below is how I do it at the moment but I'm open to better solutions.
It would also be great if there is a way that I can inject a dynamic number of
endpoints, so I could inject a
Hi,
I am new to Apache Camel.I am trying to create a HTTP ping-pong service
using Apache Camel.Here is the flow.
HTTP Client - Apache Camel - HTTP Webserver
Here are the programs that I am using.
Main pgm
---
import org.apache.camel.spring.Main;
public class Test
{
public
I was able to reproduce the issue and logged a ticket
https://issues.apache.org/jira/browse/CAMEL-6699
On Mon, Sep 2, 2013 at 1:19 PM, Claus Ibsen claus.ib...@gmail.com wrote:
Hi
Do you have the stacktrace for this?
Not sure why blueprint gives you the proxy class, could be that the
osgi
wow you are fast, thank for checking this out
On Mon, Sep 2, 2013 at 3:35 PM, Claus Ibsen claus.ib...@gmail.com wrote:
I was able to reproduce the issue and logged a ticket
https://issues.apache.org/jira/browse/CAMEL-6699
On Mon, Sep 2, 2013 at 1:19 PM, Claus Ibsen claus.ib...@gmail.com
The jetty component is by default in-out.. so there isn't anything special
you need to do to get the response from remoteIP to get sent back to the
calling HTTP client. The real question here is, what does this do? Do you
see your debug statements printing out (Routing)? Do you see any
Hi,
Thank you for clarifying on the jetty component.This application will start
off as a proxy service doing nothing but passing the requests/responses
between the clients and servers.We will add additional functionality such as
XML transformation etc in future.
Yes,I do see the debug messages
Checkout [1].
A global scoped example:
onException redeliveryPolicyRef=sapRedelivery
exceptionjava.lang.Exception/exception
to uri=.../
/onException
route
from uri=cxf:bean:.../
to uri=.../
/route
A route scoped example:
route
from uri=cxf:bean:.../
onException
Maybe you can try a curl command on the remoteIP endpoint to make sure it's
responding?
On Mon, Sep 2, 2013 at 8:10 AM, yvsandeep sandeep.venk...@bt.com wrote:
Hi,
Thank you for clarifying on the jetty component.This application will start
off as a proxy service doing nothing but passing
Hi,
This test reproduces the exception. The System.in.read() at the end is just
to wait for the exception to appear. Any ideas?
Thanks.
package camel.test;
import java.io.IOException;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.test.junit4.CamelTestSupport;
import
Sorry, I forgot to mention I'm using 2.11.1
--
View this message in context:
http://camel.465427.n5.nabble.com/Netty-and-requestTimeout-tp5738341p5738534.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes, we got it working. I can post the relevant code snippets here tomorrow.
Best,
Christian
-
Software Integration Specialist
Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member:
I'm afraid we need a (simple) unit test which shows this issue to
investigate on it.
We also using ActiveMQ in our PROD environment and don't see this issue.
May be it's related to your use of the producer template or an issue in
your custom code...
Can you share your original route (if you are
{http://example.com/}HelloWorldServicePort.http-conduit ==
{namespace}port name.http-conduit
The configuration you posted is, I assume, borrowed from [1] and shows the
client side configuration. But you are asking for the server side
configuration...
I will post my solution tomorrow in the other
Yeah, one theory I have is that the webservice we have to call in the
middle is taking longer than expected. I also found an issue (on my
side) where certain routes weren't getting set up right.
I'm going to leave debug on for a while on my machine, see what the
logs produce and go from there.
Hi All,
I asked this on stackoverflow [1] and didn't get a response, but this
is obviously a better spot to get questions answered.
Consider the following:
public class MyRouteBuilder extends RouteBuilder {
@Override
public void configure() throws Exception {
FileEndpoint
31 matches
Mail list logo