Thanks…but, still no luck…I have found so many different examples how to
configure http:conduit in various environments, with various frameworks,
but no combination works for me…even worse, I don't how it *actually* works.
I have cxf-rs, camel, running in karaf. For start, I'm trying to setup a
si
I agree with you, what I have is messy solution. However, I have seen cases
where I had to customize logon messages with custom tags instead of default
FIX protocol logon message . Hence this approach leaves room for users to
implement their own custom logon messages and add user credentials.
quic
On Wed, Feb 6, 2013 at 6:15 PM, fordm wrote:
> Claus Ibsen-2 wrote
>> I think there is a method on CamelTestSupport =
>> useOverridePropertiesWithPropertiesComponent you can override and
>> return the properties to use for testing.
>> I guess we should document that on:
>> http://camel.apache.org/
Hi,
Using Camel 2.10, I'm writing a test for the following camel route,
contained in a blueprint:
java.lang.Exception
If the smtpEndpoint is outside the doTry then I can happily mock the
endpoint using adviceWith (and weaveById).
Howe
Hi,
with this route and camel-ftp 2.10.2
I Can't reproduce the problem.
It works for me
protected static String getDownloadFtpUrl() {
return "ftp://@myip:"
+ 21
+
"?password=&ftpClient.dataTimeout=3&binary=true
On Thu, Feb 7, 2013 at 10:40 AM, fordm wrote:
> Hi,
>
> Using Camel 2.10, I'm writing a test for the following camel route,
> contained in a blueprint:
>
>
>
>
>
>
>
> java.lang.Exception
>
>
>
>
>
>
>
>
> If the smtpEndpoint is outside
On Thu, Feb 7, 2013 at 3:18 AM, sarfaraj wrote:
> We have axis web service with user authentication. Could some one tell me how
> to consume that web service in camel route ? and How to authenticate using
> camel route ?
>
> Any example would greatly help me.
>
There is no camel-axis component.
Hello,
I'm reading files from a ftp server with ftp camel component (camel version
2.10.3) by pattern using antInclude=file*.txt
Reading works but after processing the files cannot be moved to the folder
specified by "move" or "moveFailed".
Instead it logs:
Cannot change directory to: \\. Cod
On Tue, Feb 5, 2013 at 7:13 PM, CharlieD wrote:
> I want to have centralized shared properties (shared across camel contexts)
> to define things, particularly ActiveMQ endpoints. Furthermore, I want to
> avoid using /etc/custom.properties, unless I'm unaware of a refresh
> mechanism that doesn't r
Hi Christian,
I try move directive with camel-ftp 2.10.3 and It works for me.
Stupid question
Do you have write permissions on sever ?
Regards
--Filippo
2013/2/7 Christian Schäfer :
> Hello,
>
> I'm reading files from a ftp server with ftp camel component (camel version
> 2.10.3) by pattern u
I simply use
context.getRouteDefinition(routeId).adviceWith(context,
new AdviceWithRouteBuilder() {
@Override
public void configure() {
weaveById(endpointId).selectFirst().replace().to(newUri);
}
});
Debugging the test I can see that the the endpoint IS being mocked:
Hi kspri,
from your stacktrace I can't understand the problem.
Could you please upload your file from command line ?
This test is used to discriminate where the problem lies
Regards.
--Filippo
2013/2/6 kspri :
> I am using the Camel-FTP component to ftp a file into a server. Some times I
>
Sure the ftp user got permissions to write and move.
Btw. I just tried camel version 2.10.2 and it works..but it would be better to
get it working on 2.10.3 because all routes were tested on this version.
--
Christian
Von: Filippo Balicchia
An: users@camel
Let me describe my problem once again.
I got a data from file. That data I parsed & create the object. I need to
pass that object as an input to axis web service which is running remotely
and get result back in my camel route.
My camel route may look like below.
*
<-- Parse & create object -->
Hi,
Can you post your full example of component, to successfully reach in a spring xml route ?
You were mentioning lack of documentation,
It would help all.
Thank you,
Francois
--
View this message in context:
http://camel.465427.n5.nabble.com/Python-in-camel-classpath-tp5726058p5727094.htm
On Thu, Feb 7, 2013 at 11:23 AM, sarfaraj wrote:
> Let me describe my problem once again.
>
> I got a data from file. That data I parsed & create the object. I need to
> pass that object as an input to axis web service which is running remotely
> and get result back in my camel route.
>
> My cam
Hi,
On 07/02/13 08:44, Martin Stiborský wrote:
Thanks…but, still no luck…I have found so many different examples how to
configure http:conduit in various environments, with various frameworks,
but no combination works for me…even worse, I don't how it *actually* works.
I have cxf-rs, camel, runn
Hi, yep, I just find out, that I'm mixing client and side things :(
At least I know what is http conduit for :)
ok…pax web…let's see, thanks for help Sergey!
On Thu, Feb 7, 2013 at 11:54 AM, Sergey Beryozkin wrote:
> Hi,
>
> On 07/02/13 08:44, Martin Stiborský wrote:
>
>> Thanks…but, still no lu
Thanks a lot Willem for your help!
Ivan
On Wed, Feb 6, 2013 at 5:15 PM, Willem jiang wrote:
> camel-twitter is leveraging the twitter4j. Here the instruction of setting
> the proxy from twitter4j FAQ[1].
>
> You can either to use system properties(-Dtwitter4j.http.proxyHost,
> -Dtwitter4j.http.
Hi,
Thanks for the reply,
But in my case, it looks like it does not even processing the route. I had a
simple route as below.
from("ftp://@:21?password=&ftpClient.timeout=3&binary=true&move=.test")).to("file:///tmp")
(whereas 'test' is the remote folder that I want to copy
remotehost:/ho
But now I see that the message went away. So I have another question
1. If I rebooted the spring contexts while in the queues were messages, the
Delayer recount timeDelay correct?
2. Is this problem related to what some threadpoolprofile?
--
View this message in context:
http://camel.465427.n
I have a route:
...
Set the header value timeDelay by
action
180
My server class looks like this:
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
@Path("/hello")
public cl
This is really helpful:
http://blog.nanthrax.net/2012/12/how-to-enable-https-certificate-client-auth-with-karaf/
I'm still not finished, but it's on a good way I guess :)
On Thu, Feb 7, 2013 at 11:59 AM, Martin Stiborský <
martin.stibor...@gmail.com> wrote:
> Hi, yep, I just find out, that I'm m
I'm trying to create a camel route that mocks a SOAP-webservice in order to
do testing from another application.
I have the WSDL of the service interface and I've generated the classes with
wsdl2java and that worked ok.
My route looks currently like this:
The route is exposed ok works partially
It should be possible to use $simple{} in property placeholders, like:
>
>
>value="$simple{__yourexpression_goes_here__}"/>
and then either:
{{test.property}}
do something
…
…
or
{{test.property}}
…
...
Sorry, have not tried it & hope this he
On Thu, Feb 7, 2013 at 12:54 PM, AMARNATH, Balachandar
wrote:
> Hi,
>
> Thanks for the reply,
>
> But in my case, it looks like it does not even processing the route. I had a
> simple route as below.
>
> from("ftp://@:21?password=&ftpClient.timeout=3&binary=true&move=.test")).to("file:///tmp"
Hi
I have the following route
from(netty:localhost).to(first processor).to(netty:external).to(second
processor)
Suppose a client has sent a request with some ten fields and after
processing at first processor
then it is sent to external host with only five fields and then to second
processor.
On Thu, Feb 7, 2013 at 11:58 AM, sarfaraj wrote:
> Preferably I need to call the axis web service using spring/xml DSL only. Can
> I use *spring-ws* component to do the same? If not is there any other
> component I can used to call the axis web service.
>
Yes you can use camel-cxf or camel-spring
On Thu, Feb 7, 2013 at 11:06 AM, fordm wrote:
> I simply use
>
> context.getRouteDefinition(routeId).adviceWith(context,
> new AdviceWithRouteBuilder() {
> @Override
> public void configure() {
> weaveById(endpointId).selectFirst().replace().to(newUri);
> }
> });
>
H
On Thu, Feb 7, 2013 at 12:06 PM, justinblandford
wrote:
> Hi,
>
> I have a blueprint property such as :-
>
>
>
>
>
> and have a route like :-
>
>
>
>
>
> {{test.pr
And from the same source, another good one:
http://blog.nanthrax.net/2011/08/jax-rs-services-using-cxf-and-karaf/
Sorry for spamming. I just hope that these links could be useful for
others, solving the same issue.
On Thu, Feb 7, 2013 at 1:25 PM, Martin Stiborský wrote:
> This is really helpful
Hi,
I am using cxf endpoint as my final endpoint location where the exchange has
to be pushed out to.
I am not using any cxf configuration xml. Instead just instantiating a new
CXFEndpoint object using the normal java way.
CxfEndpoint endpoint = (CxfEndpoint)getContext().getEndpoint(uri
We are currently using the Camel http4 component to perform both http and
https calls either directly or through a proxy. All these scenarios work by
configuring the http4 component in a certain way
ex: plain http without proxy
ex: https without proxy
ex: https with a proxy
I had 2 questions
I found a solution really simple... I edited directly the camel-hazelcast
component ^^ Indeed it's a mix between the components seda & hazelcast and
the transactions are never started.
I don't know if it's the best solution but it works :)
Prerequisite :
The transactions are configured with cam
Hello,
I use the following in my Java code to route the data from a rest service to
a jms queue:
from("cxfrs:bean:rsServer")
.setExchangePattern(ExchangePattern.InOnly)
.convertBodyTo(Object[].class)
.to("activemq:foo");
I want to change the configuration to XML. But I st
Claus Ibsen-2 wrote
> Have you tried with
>
> weaveById(endpointId).replace().to(newUri);
Removing the selectFirst I get the same result.
However, if I use
weaveByToString(uriPattern).selectFirst().replace().to(newUri);
then the end point seems to be mocked successfully. Which is
On Thu, Feb 7, 2013 at 3:08 PM, fordm wrote:
> Claus Ibsen-2 wrote
>> Have you tried with
>>
>> weaveById(endpointId).replace().to(newUri);
>
> Removing the selectFirst I get the same result.
>
> However, if I use
>
> weaveByToString(uriPattern).selectFirst().replace().to(newUri);
>
>
Dears ,
I'm using Spring JDBC template and I'm calling DB package for every http hit
to apache camel Jetty server.
the question is :
will we hit DB using new JDBC connection for every hit ?
or will we using the same JDBC template for all ? I mean use available JDBC
connections in the pool ?
a
Thanks a lot, it worked like a charm.
I added two fields to the config field (Username and Password) and read them
from the componet so they wouldn't be hardcoded. Here's the processor:
public class FixLoginRequestProcessor implements Processor
{
public void process(Exchange exchange) thr
Hi Filipp,
thanks for testing..I just adapted your code to my use case and keep getting
the described behaviour
(no file moving with 2.10.3, 2.10.4-SNAPSHOT ; moving works with 2.10.2)
The anonymized test case:
@Test
public void testFTPMove() throws Exception{
context.addRoutes
On Thu, Feb 7, 2013 at 1:43 PM, kiranreddykasa wrote:
> Hi
>
> I have the following route
>
> from(netty:localhost).to(first processor).to(netty:external).to(second
> processor)
>
> Suppose a client has sent a request with some ten fields and after
> processing at first processor
>
> then it is s
Hi all,
We are new to camel and are exploring camel to use it in our middleware
environment. Two main things we are looking at. EDI support and the best
web/application server for deployment.
Our preference would be to bind EDI and csv files that serve as our input
and output formats, to Java
Hello,
My spring route is as the following :
this is embedded in a camel context
in the python script I do some manipulations which are after used in other
routes.
--
View this message in context:
http://camel.465427.n5.nabble.com/Python-in-camel-classpath
Hi,
The pure route part is clear,
Can you propose pom.xml important sections, Spring namespace declarations,
and jython variables usage (response, etc...) ?
Great thanks,
Francois
--
View this message in context:
http://camel.465427.n5.nabble.com/Python-in-camel-classpath-tp5726058p5727146
Hi
See this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
On Thu, Feb 7, 2013 at 2:44 PM, ddewaele wrote:
> We are currently using the Camel http4 component to perform both http and
> https calls either directly or through a proxy. All these scenarios work by
> configuring the
Hi
I have logged a ticket to improve this
https://issues.apache.org/jira/browse/CAMEL-6051
On Thu, Feb 7, 2013 at 3:01 PM, jkob wrote:
> Hello,
>
> I use the following in my Java code to route the data from a rest service to
> a jms queue:
>
> from("cxfrs:bean:rsServer")
> .setExchangePa
We are migrating to 2.10.3 from 2.7.4. So far everything worked great just
changing the camel version, however I'm getting the following error trying
to use a jetty:https endpoint. What dependency am I missing?
java.lang.NoSuchMethodException:
org.eclipse.jetty.server.ssl.SslSelectChannelConnect
The first think you should mention is the version you are using. Check out
http://camel.apache.org/support.html
If you are using Camel 2.10+, you don't need the imports for
"cxf-servlet.xml" or "cxf-extension-soap.xml". And by the way, soap !=
jaxrs...
And why you don't return a simple "Hello" in y
It would be nice to know which version of Camel do you use...
Best,
Christian
On Wed, Feb 6, 2013 at 5:46 PM, kspri wrote:
> I am using the Camel-FTP component to ftp a file into a server. Some times
> I
> randomly get the below exception what could be the reason. Any pointers
> are
> really a
So, where is your Camel related question?
Best,
Christian
On Thu, Feb 7, 2013 at 12:57 PM, CamelNewbieUser
wrote:
> Hi, I am doing a very simple HTML to servlet invocation within ServiceMix.
> My
> HTML is very simple with below form element: My Servlet code is as below:
> protected void doPost(
Du you consider to raise a JIRA and attach a patch and unit test?
http://camel.apache.org/contributing.html
Best,
Christian
On Thu, Feb 7, 2013 at 2:32 PM, xanko wrote:
> I found a solution really simple... I edited directly the camel-hazelcast
> component ^^ Indeed it's a mix between the comp
Where is your Camel related question?
As far as I know, the Spring JDBC template will borrow an existing
connection from the database pool for each operation.
Best,
Christian
On Thu, Feb 7, 2013 at 3:21 PM, atiato wrote:
> Dears ,
>
> I'm using Spring JDBC template and I'm calling DB package fo
Hi,
Camel HTTP component just supposed to handle the HTTP transport for you , it
doesn't care about the underlay stream.
If you want to parser the XML, you can try to use JAXB data format[1].
[1]http://camel.apache.org/jaxb.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Ha
Hi,
Can you check which jetty version are using?
You may need to down grade it.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
(English)
h
Thanks so it will manage everything internally . I think max active spring
parameter will ensure that no more than 200 connection are working
concurrently .
**
--
View this message in con
56 matches
Mail list logo