Camel uses JSCH (http://www.jcraft.com/jsch/) library to support both SCP and
SFTP. This library supports public-private key based authentication using
com.jcraft.jsch.JSch.addIdentity method. However looks like Camel only
supports this feature for SFTP component (http://camel.apache.org/ftp2.html)
Hi All,
I have a case like this:
- retrieve source from database (it will return multiple values)
- read the file from the sources
- route the message to queue.
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Dynamic-source-endpoint-tp5682267.html
Sent from the Camel -
On Thu, May 3, 2012 at 1:34 AM, soumya_sd wrote:
> Is there a way to inserting (and removing) rules at runtime using the
> Drools-Camel component ? According to these two you can only insert facts.
>
> https://issues.jboss.org/browse/JBRULES-2804
>
> https://github.com/droolsjbpm/droolsjbpm-integr
On Thu, May 3, 2012 at 12:14 AM, Hadrian Zbarcea wrote:
> Is there some code you wanted to show that's missing?
> Hadrian
>
Ah looks like he posted a html mail from Nabble, where the code was
filtered out on our mailing list.
If you click the nabble link you can see the code
http://camel.465427.
Hi
Is it possible to use a load balancer in request-reply scenarios?
I have the following scenario:
The first route is exposed as a soap web service to the external
applications. That route does some validation and depending on the
validation result either throws a WebFault or returns an acknowle
Is there a way to inserting (and removing) rules at runtime using the
Drools-Camel component ? According to these two you can only insert facts.
https://issues.jboss.org/browse/JBRULES-2804
https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/came
I think it will be a good idea to relax the restrictions around how custom
vocabulary can be introduced into the XML based DSL. For example ability to
allow additional JAXB packages to be scanned for model definitions, and
also removing the restriction around data format definitions an unmarshal
de
Hi Experts -
I wanted to receive a SOAP message on a JMS queue and once the message is
received, needed to send a response message to a different JMS queue. I'm
planning to create a route similar to the following.
from("jms:queue:CallBackListNotification.Request")
.to("file://data?fi
Is there some code you wanted to show that's missing?
Hadrian
On 05/02/2012 11:18 AM, Marek Strejczek wrote:
My use case requires to know whether the FIX message was sent successfully to
the counterparty or not.
Camel-Quickfix doesn't allow me to obtain this information, as it ignores
the result
I found a fix. However, I still don't completely understand it completely.
My assumption was that when the splitResponse() method is invoked by Camel
it is passed a GooglePlaceResponseObject. However, looks like that's not the
case. Because when I changed the input to splitResponse() to an Exchan
How does your routes look like?
What's about defining the dependency to camel-jaxb in both projects
(instead of jaxb-api and jaxb-impl)?
Best,
Christian
On Tue, May 1, 2012 at 7:24 PM, gehdan wrote:
> Hi there,
>
> when using camel-jaxb 2.9.2 on Java 6 (1.6.0_32) I get this Exception:
>
> Excep
Can you try setting the property:
org.apache.cxf.interceptor.USE_ORIGINAL_THREAD, "true"
on the CXF endpoint and seeing if that helps? That should keep the request
on the original thread and should allow the stack for that to unwind on an
exception.
Dan
On Wednesday, May 02, 2012 04:36:35
Hi Dinesh,
You will see a similar error if you try to run Camel JUnit tests and are
using OSGi for your properties file. To make this slightly less painful,
you can put your PropertyPlaceHolder in its own file. For example, this
file can be called properties-context.xml
http://www.springframewor
Thanks for the quick reply.
>> Give me one day to put some code together.
Looking forward into it.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-jsch-in-sink-mode-for-one-time-copy-from-a-remote-host-using-SCP-tp5680887p5680932.html
Sent from the Camel - Users mailing
The main issue is that with scp you cannot list the content of a remote
file system. It is possible to implement a consumer that can be used in
conjunction with a ConsumerTemplate. The protocol is a bit tricky to
implement, but too hard. Give me one day to put some code together.
Hadrian
On
Hi all,
We have a number of ftp consumer routes that we start based on URLs read from
our database.
If there's a typo in the URL (e.g. "ftp://localhost::1023";), the whole
camelContext won't start.
We're using SpringCamelContext.
These routes are not essential, we still want our application to
My use case requires to know whether the FIX message was sent successfully to
the counterparty or not.
Camel-Quickfix doesn't allow me to obtain this information, as it ignores
the result of the Session.send invocation.
I think about the following solution:
replace in QuickfixjConsumer.sendOutMessa
On Tue, May 1, 2012 at 8:11 PM, Purple Tea wrote:
> Thank you for your reply.
>
> Does the simple language also allows us to send multiple method parameters
> like the new features offered in the bean binding?
>
Yes, just provide a method signature such with the parameters
separated by comma.
The
On Wed, May 2, 2012 at 4:42 PM, Stefan Burkard wrote:
> I think you can use ".setExchangePattern(ExchangePattern.InOut)"
> instead of the deprecated ".inOut()"
>
Yes thats what we favor
setExchangePattern to change the pattern from this point forward
to(pattern, uri) to use a specific pattern fo
On Wed, May 2, 2012 at 4:36 PM, Raul Kripalani wrote:
> Just a quick comment. In my experience I have found data formats to fit in
> well with the marshal / unmarshal model where there is a low-level data
> format and a high-level object roundtrip, but not so well with high-level
> ad-hoc transfor
I think you could define a CXF endpoint bean in spring configuration
(see this page for an example:
http://camel.apache.org/cxf-example.html) and then use it like
.to("cxf:bean:yourBeanId")
Stefan
On Wed, May 2, 2012 at 4:15 PM, Marco Westermann wrote:
> Hi,
> I try to call an external web serv
I think you can use ".setExchangePattern(ExchangePattern.InOut)"
instead of the deprecated ".inOut()"
Cheers
Stefan
On Wed, May 2, 2012 at 2:22 PM, frankie_hr
wrote:
> Hi All,
>
> I have an issue with returning an object back to the caller while using the
> ProducerTemplate.requestBody() method
Just a quick comment. In my experience I have found data formats to fit in
well with the marshal / unmarshal model where there is a low-level data
format and a high-level object roundtrip, but not so well with high-level
ad-hoc transformations.
If you look at the DataFormat interface, you'll see w
Hi,
I try to call an external web service using camel-cxf. I tried it this
way and it works: http://pastebin.com/nNv6MUAt.
Now I wonder if there is a better way to supply the params to the
service. Do I have to build the request-xml by myself or is there a
better way?
e.g. setting a specifi
On Wed, May 2, 2012 at 4:08 PM, Meeraj Kunnumpurath
wrote:
> Thanks Claus.
>
> So do I defined the custom data format as a Spring bean refer to it from
> the unmarshal XML element. Or do I need to use setDataFormatResolver on
> CamelContext?
>
Yes just refer to it's spring bean id name.
You can
Thanks Claus.
So do I defined the custom data format as a Spring bean refer to it from
the unmarshal XML element. Or do I need to use setDataFormatResolver on
CamelContext?
Thanks
Meeraj
PS: BTW just got the book, it rocks :)
On Wed, May 2, 2012 at 1:44 PM, Claus Ibsen wrote:
> On Wed, May 2,
Hi
Whatever you do with the aggregator is that it holds the aggregated
data in memory, so you need to be able to store that in memory.
You could use a persistent repository, and use the claim check EIP
pattern and only store "tokens" to the actual data which is stored
offline (eg not in memory) fo
On Wed, May 2, 2012 at 12:04 PM, Meeraj Kunnumpurath
wrote:
> Hi,
>
> I have a need to apply custom transformation using a third party library.
> My plan is to write a new data format. However, I am not sure whether it is
> the right component for me, as the need is to have one transform method,
>
Hi
Welcome on the ride.
I suggest If you can then dive into the source code of camel-snmp and
see if there is something wrong / problem.
Camel uses a 3rd party framework for the SNMP (snmp4j), so it may also
be a issue with that, or a configuration issue etc.
You may also try to upgrade to a new
Here is an example that proves my fear. The test failed.
package camelinaction;
import junit.framework.Assert;
import org.apache.camel.CamelContext;
import org.apache.camel.Exchange;
import org.apache.camel.LoggingLevel;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBui
Hi All,
I have an issue with returning an object back to the caller while using the
ProducerTemplate.requestBody() method and ActiveMQ since I upgraded to more
recent versions of Camel (2.9.2) and ActiveMQ (5.5.1). I didn't have such
problems earlier when using Camel 2.5.0 and ActiveMQ 5.4.2, but
Willem.Jiang wrote
>
> Maybe there are some conflict between camel and tomcat share lib.
> Can you double check it?
>
Willem, thanks for responding. Can you give me some idea about where should
I check for this conflict ?
Thanks again !
--
View this message in context:
http://camel.4654
Hi, I'm evaluating Camel for aggregating and processing events - and
it looks like the EIP facilities and components that Camel provide
would make my task relatively easy, and I'm really excited about the
possibilities Camel offers. Thanks for creating it!
I'm starting to create some simple use c
Hi,
I have a need to apply custom transformation using a third party library.
My plan is to write a new data format. However, I am not sure whether it is
the right component for me, as the need is to have one transform method,
which doesn't fit well with the marshal/unmarshal pair.
A second quest
This question is also cross posted at
http://stackoverflow.com/questions/10278621/apache-camel-gbs-of-data-from-database-routed-to-jms-endpoint
I've done a few small projects in camel now but one thing I'm struggling to
understand is how to deal with big data (that doesn't fit into memory) when
I'm sure it could be kept generic if every endpoint was able to accept it's
own Configuration object (ie FileEndpoint accepts FileEndpointConfig and
FtpEndpoint accepts FtpEndpointConfig).
1. By using headers, am I correct to assume that these headers are passed to
every endpoint (not just the fil
36 matches
Mail list logo