Hi,
I need to send some messages to an openmq queue on a remote host.
The problem is that the host is behind a firewall and the only way to
connect is over ssh. That machine has a MySQL server installed. I can
connect with it with putty doing a Port Forwarding to my local machine, so i
can
I'd setup the ssh tunnel outside of Camel, then have your Camel JMS URI use
the localhost/port that's being forwarded. That way Camel has no knowledge
of the port forwarding.
Perhaps try something like sshuttle https://github.com/apenwarr/sshuttle to
provide a simple VPN of sorts via ssh. I've
Hi,
Apache Mina is a full implementation of SSH.
Somebody already document the same issue than yours :
http://stackoverflow.com/questions/8279426/how-tunnel-all-rmi-traffic-over-ssh
I did use Mina as SSHd server, but I didn't test it for port forwarding,
Nevertheless I believe it's the most
François makes a good point since your scenario is a desktop app.
On Thu, May 21, 2015 at 11:30 AM, François LIOT francois.l...@poplidays.com
wrote:
Hi,
Apache Mina is a full implementation of SSH.
Somebody already document the same issue than yours :
Hi,
I need to send some messages to an openmq queue on a remote host. The
problem is
that host is behind a firewall and the only way to connect is over ssh. That
machine has installed
a MySQL server. I can connect it with putty doing a PortForwarding to my
localmachine, so i can connect
to remote
Hi,
I m using camel version 2.10.0.
In my route spring XML , i want to use the CamelContextCDI instead of the
DefaultCamelContext.
How can i do it ?
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
I was using the latest snapshot.
After your replay,
I checked again with the 2.15.x branch, and it worked!!!
Thanks!
-Christina
--
View this message in context:
http://camel.465427.n5.nabble.com/Problem-with-swagger-in-the-camel-example-servlet-rest-tomcat-tp5767376p5767381.html
Sent from
I have tried to add to the tag beans.
xsi:schemalocation=http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/beans_1_0.xsd;
and i add @Named to the Interface DateBusinessManager.
Named
public interface DateBusinessManager {
/**
*
*
* @param
Hi
What version of Camel do you use? And what JDK version?
On Thu, May 21, 2015 at 12:48 PM, Christina Lin c...@redhat.com wrote:
I wanted to see how swagger works, but is having trouble with the
camel-example-servlet-rest-tomcat quickstart example. After packaging it,
and placing the WAR
Hi
No camelContext is a spring based CamelContext.
On Thu, May 21, 2015 at 11:36 AM, kikou1984 hichem.ouesl...@atos.net wrote:
Hi,
I m using camel version 2.10.0.
In my route spring XML , i want to use the CamelContextCDI instead of the
DefaultCamelContext.
How can i do it ?
beans
I wanted to see how swagger works, but is having trouble with the
camel-example-servlet-rest-tomcat quickstart example. After packaging it,
and placing the WAR file in Tomcat 8.0.22. I was able play with the rest
service without any problem.
BUT, I was not able to get the
when i try to start bundle, i got below error.
is it dependency issue?
Caused by: org.apache.camel.RuntimeCamelException: Cannot auto create
component: file
at
org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:322)
at
Hi Claus,
So how i can make CDI with Spring Context ?
Thxs.
--
View this message in context:
http://camel.465427.n5.nabble.com/How-can-i-use-CDI-with-the-Camel-Context-tp5767375p5767380.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I am using Camel 2.15.1.
I have a route defined like this:
from(
vmAsyncEndpoint
//vm://async.handle.event?blockWhenFull=truesize=4
)
.routeId(vmAsyncEndpoint.getEndpointUri())
.startupOrder(order())
.loadBalance()
.sticky(
Hello,
This works very fine for everything which has to do with camel (as groupid)
itself but not for dependencies with other groupid like the one below:
dependencies
dependency
groupIdorg.springframework.ws/groupId
artifactIdspring-ws-security/artifactId
version${spring-ws-version}/version
Hi,
Option outputType has SelectList by default. Does it mean that your
endpoint always fail or only when you set outputType=SelectList explictly.
Cheers.
czw., 21.05.2015 o 10:51 użytkownik chaituu yarlagadd...@gmail.com
napisał:
using 2.14.1 version...
route id=route1
from
Hi
Okay thanks. There has been some swagger improvements for 2.16.
So maybe it broke something in the example.
You are welcome to log a JIRA so we wont forget about this - as its
maybe sometimes a bit easy to not test the example but all the unit
tests works.
http://camel.apache.org/support
On
Hello,
is there a way on the on exception or in the error handler to send a message
one time and keep retrying?
Something like this but with error handler or on exception.
route
from uri=activemq:in/
doTry
throw new=sql.Exception/
I just added a comment on your issue.
I think you may need to extends the CdiTestSupport instead of
CamelTestSupport. The key point is find the right CdiContainer to use, as I
didn't see the code of EJBContainerRunner, you may need to the work there if
the CdiTestSupport doesn't work.
--
Vanshul,
Take a look at the onRedelivery (or onRedeliveryRef for spring/blueprint) that
can be applied to either onException [1] or errorHandler [2]. It allows for
for a custom processor to be executed prior to redelivering a message. You
should be able to configure a ProducerTemplate to send
Hi,
You can use a combination of the retryWhile property of onException to allow
for indefinite retrying. In addition, you can also use the onRedelivery
property to define a custom process to perform action prior to the redelivery
of a message. A ProducerTemplate can be used to send to a
So, it turns out that the processing of simple expressions is apparently
somewhat slow (my camel routes are currently handling 2300 events/second) so
each message is taking milliseconds to get through the pipelines. If the
load balancing calculation takes too long it cannot keep the pipelines
Hi
Yes your custom code is compiled java code, where as when using simple
with an OGNL expression, eg body.partionKey then Camel need to invoke
the method using reflection and hence the overhead.
You can likely use groovy or mvel as the expression and do some code like:
I would like to reuse the same Netty Service that is configured outside of the
Rest DSL. For example I have the Netty and SSL configuration:
camel:sslContextParameters id=sslParams
camel:keyManagers keyPassword=changeit
camel:keyStore resource={{env:HOME}}/localhost.jks password=changeit
Hi,
What is your OSGI container?
Is it Karaf? If so, you have to install camel in karaf (even though, you
have provided dependency in camel ) with the below command :
karaf@root features:chooseurl camel 2.12.1 (provide the version you want)
karaf@root features:install camel
These camel
Hello,
We have a requirement wherein we need to perform a retry for 10 times with gap
of 30 min. If retries fail, then we need to put message in error queue. Issue
here is operations team will be unaware of any issues will 5 hrs 30 min.
Is there a way OnException puts one error message before
26 matches
Mail list logo