Apache Mina project has a SSH sub project. Its used by Apache Karaf I think.
On Thu, Nov 24, 2011 at 11:15 AM, diwakar wrote:
> Hi,
>
> Is there a Camel component for SSH command line interface.
> Please let me know your comment.
>
> With Best Regards,
> Diwakar
>
>
> --
> View t
Hi,
I am new to servicemix. trying to write a simple example in which a file
contents are copied from a directory to a jms queue which in turn transfers
it to another directory. The xml file is as follows:-
http://www.springframework.org/schema/beans";
xmlns:xsi=
Hi
See this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
On Thu, Nov 24, 2011 at 4:10 PM, suman wrote:
> Hello All,
> I have a question regarding dymaic uri inside toF() DSL
> Given below is my route
>
> from("direct:bootstraproute")
> .setHeader(Exchange.HTTP_METHOD,constant
Yes, Mina SSHD could be used if needed, but could you elaborate a bit
more, I'm not really sure to understand what you have in mind.
You want a camel component that would connect through SSH and execute
commands remotely ?
Maybe that could be a camel-exec enhancement somehow.
On Fri, Nov 25, 2011
Hi,
Thanks for the reply.
With Best Regards,
Diwakar
--
View this message in context:
http://camel.465427.n5.nabble.com/Component-for-SSH-CLI-tp5019772p5022074.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
We need to execute "ls" on one of the servers and then
retrieve few files with SFTP. Exec is an option, but the process is about
1Gb in size and doing too many forks (with Runtim.exec())is not a good idea.
With Best Regards,
Diwakar
--
View this message in context:
http:
Hello all,
Im new to camel and currently doing an evaluation exercise!
What Im trying to achieve is to place camel in the middle of two apps.
The apps use XML over TCP to communicate over one connection. The message
pattern is kinda pub/sub or single request with multiple replies.
The msgs flows
Hi,
Very basic doubt.
Isn't it difficult to do proper error handling with the EIP
based approach?
It is much simpler with Pojo interfaces.
Could Camel have been a bunch of libraries? (Except for asynch
support). With pure Java for controling t
Hi
There is a SFTP component with Camel? Can you just use that? As it can
scan directories for files, and download the files.
http://camel.apache.org/ftp2
On Fri, Nov 25, 2011 at 9:38 AM, diwakar wrote:
> Hi,
>
> We need to execute "ls" on one of the servers and then
> retrieve
This worked for me -
from("file://d://log//camel").convertBodyTo(String.class)
.multicast().to("seda:a", "seda:b");
from("seda:a")
.process(new MutlicastRecoveryProcessor("output1"))
.choice()
.when(header("foo").isEqualTo("one"))
.to("log:org.apache.camel.Dea
Hi,
My comment inline
On 2011-11-24, at 下午11:05, Ashish wrote:
Hi,
I am new to servicemix. trying to write a simple example in which a
file
contents are copied from a directory to a jms queue which in turn
transfers
it to another directory. The xml file is as follows:-
http://www.springf
er of retries:
http://codebrane.com/blog/wp-content/uploads/2011/11/2025-082741.jpg
Alistair
--
mov eax,1
mov ebx,0
int 80
On 25 Nov 2011, at 08:34, diwakar wrote:
> Hi,
>
> Very basic doubt.
> Isn't it difficult to do proper error handlin
Hi,
>> As it can scan directories for files, and download the
file
We will try this. But this was just one example of SSH
usage.
With Best Regards,
Diwakar
--
View this message in context:
http://camel.465427.n5.nabble.com/Component-for-SSH-CLI-tp5019772p502233
Hi,
In Servicemix/JBI thread pools by are there by default (at
component level).
Why isn't the same approach taken for Camel? In Camel thread
(/async) has to be configured explicitly in the route.
Please let me know your comment.
With Best Regards,
I was able to limit the number of threads by setting the consumerType to
simple and the taskExecutor to a spring ThreadPoolTaskExecutor
bean that I created. I didn't use the ThreadPoolProfile class.
I hope this helps.
On 24/11/2011 22:19, "Jason Dillon" wrote:
>rType(ConsumerType.Simple);
>Acti
On Fri, Nov 25, 2011 at 10:40 AM, diwakar wrote:
> Hi,
>
> In Servicemix/JBI thread pools by are there by default (at
> component level).
> Why isn't the same approach taken for Camel? In Camel thread
> (/async) has to be configured explicitly in the route.
>
You can use pollEnrich instead of the processor in the Camel DSL.
http://camel.apache.org/content-enricher.html
And the problem you have is that you create a new consumer template for
*each* message. Do not do this. But create the template once. Read this FAQ
http://camel.apache.org/why-does-camel
Are you using the same cxfEndpoint ?
If so, You can set the AuthorizationPolicy by using the conduit[1].
If not, I'm afraid you have to use other camel component to do the job.
[1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport
Thanks for sharing it with us.
If you are using camel-http4 component, you don't need to start a real
Jetty server for it.
You can find more information about it by checking out the unites of
the camel-http4[1].
[1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-http4/src/test
Hello,
I tried to create as simple component as possible that represents the case I
need to implement (I am using provided ActiveMQ broker to post messages that
are consumed by my Component).
When I try to launch simple test that sends 1 message to broker via
ProducerTemplate, but whole setup is b
Hi,
I have not reviewed the whole code but at least one thing is wrong.
To use your component you should do:
my is the id of your component. Camel finds it by looking for a spring
bean with that id.
Of course you could also use the camel bean component but then you would
not write a componen
You can take a look at recipient-list which can take the message header
as a parameter to build up the endpoint uri.
[1]http://camel.apache.org/recipient-list.html
On Thu Nov 24 23:10:10 2011, suman wrote:
Hello All,
I have a question regarding dymaic uri inside toF() DSL
Given below is my rou
Hello, today I tried to use properties as defined in examples.
And found that with vm: uri when sender uses one context and receiver
another, property searched in sender context, instead of receiver, where
route is defined.
When using activemq anything is fine and properties searched in receiver.
c
Thank You a lot, it helped me to move forward. Methods at my endpoint are
called, but unfortunately process(Exchange exchange) on my Producer is not
called when message is sent, and thus communication line is not finished.
Methods like doStart() from DefaultConsumer are.
Is the endpoint name in UR
Hi
Can you paste a sample of the routes you use?
On Fri, Nov 25, 2011 at 2:03 PM, kudrevatykh wrote:
> Hello, today I tried to use properties as defined in examples.
> And found that with vm: uri when sender uses one context and receiver
> another, property searched in sender context, instead
If you are expecting one message for each response, then I guess that you
can get this message back by having the sync option set to true.
However, I think that you mentioned multiple responses per request. I think
that you could easily solve this one by implementing the appropriate
filter, that wo
Hi
a theory: when camel searches for properties, (anything in it's
"registry") it looks in Exchange.getCamelContext...
and as the exchange (when using the vm: component) is created in one
camelcontext and sent by reference to another camel context in the
same jvm,
the second context receives the
2011/11/25 Björn Bength :
> Hi
>
> a theory: when camel searches for properties, (anything in it's
> "registry") it looks in Exchange.getCamelContext...
> and as the exchange (when using the vm: component) is created in one
> camelcontext and sent by reference to another camel context in the
> sam
never mind last post, it was a misfired message via ProducerTemplate.
Producer part works, now I'll take a look at Consumer part, which requires
polling and firing messages into Camel.
Thanx so far! ;)
--
View this message in context:
http://camel.465427.n5.nabble.com/connecting-to-new-jms-imple
Hi All,
I'm sooo close. :-) Here is my code
/*
* It enables us to switch between iteamone corbaStubs and eagle camelProxys
*/
public Object getProxy(java.lang.Object impl, Class
interfaceToImplement){
CamelServiceExporter remoteExpt = new CamelServiceExporter ();
remoteExpt.setService(impl);
r
Thanks Ioannis however the 'responses' are never ending. Which is why I
mentioned its like pub/sub.
The two applications I have use an 'always open' TCP connection where the in
and out messages streams are effectively 'sessionless'. E.g.
TCP Client opens connection with TCP Sever Listener .
Clien
Of course.
you find in attchement the source code for my example.
http://camel.465427.n5.nabble.com/file/n5023529/camel-example-etl2.zip
camel-example-etl2.zip
Best,
--
View this message in context:
http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p5023529.html
Sent from the Camel -
Is it possible to supply custom parameters to a bean used in several routes?
For example something like:
CAMEL Community:
I have raised this question earlier also and got some directions which are
great, but I am still stuck at a critical step and need your help in solving
it.
I am new to CAMEL and learning it. I have a project which I have explained
in my other post but now I am focusing on where
CAMEL Community:
I have raised this question earlier also and got some directions which are
great, but I am still stuck at a critical step and need your help in solving
it.
I am new to CAMEL and learning it. I have a project which I have explained
in my other post but now I am focusing on where
Dears ,
I would like to know if there is special configuration for camel if we are
having heavy load , let us assume the following :
1- have Mina TCP endpoint .
2- from TCP I use JAXB to transform XML coming into Object.
3- call the Web service using CXF endpoint.
4- convert response into Object .
Hi,
depends on what you do with your objects..
if all transaction payload are very, very large objects coming in at
the same time and/or you store them in memory it will eventually leak
yes.
If you do normal sensible processing, and your load is spread out over
the day, one million transactions a
Thanks, that seems to do it :-)
--jason
On Nov 25, 2011, at 1:57 AM, Joshua Watkins wrote:
> I was able to limit the number of threads by setting the consumerType to
> simple and the taskExecutor to a spring ThreadPoolTaskExecutor
> bean that I created. I didn't use the ThreadPoolProfile class.
On Fri, Nov 25, 2011 at 6:35 PM, Xenofon Papadopoulos wrote:
> Is it possible to supply custom parameters to a bean used in several routes?
> For example something like:
>
>
>
>
>
> http://camel.apache.org/bean-binding.html
For older Camel releases you cannot easily do this.
> Thanks
39 matches
Mail list logo