Re: Camel CXF RS: New Simple binding style for JAX-RS

2013-04-01 Thread Martin Stiborský
ki.apache.org/confluence/display/CAMEL/CXFRS#CXFRS-ConsumingaRESTRequestSimpleBindingStyle > > > > > > Regards, > > > > > > *Raúl Kripalani* > > > Enterprise Architect, Open Source Integration specialist, Program > > > Manager | Apache > > > Camel Committer > > > http://about.me/raulkripalani | > http://www.linkedin.com/in/raulkripalani > > > http://blog.raulkr.net | twitter: @raulvk > > > > > > > > > > > -- > > Claus Ibsen > > - > > Red Hat, Inc. > > FuseSource is now part of Red Hat > > Email: cib...@redhat.com > > Web: http://fusesource.com > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > > -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Upgrade Camel 2.10.1 - 2.11.0 - Camel keeps restarting

2013-05-01 Thread Martin Stiborský
o I know it's hard to find possible problem from such description I provided here. Just if you spot something obvious or I missed something related to upgrade.. -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Securing jaxrs REST interface with HTTP Basic auth

2013-05-20 Thread Martin Stiborský
st regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Securing jaxrs REST interface with HTTP Basic auth

2013-05-20 Thread Martin Stiborský
ml > > On Mon, May 20, 2013 at 10:48 AM, Martin Stiborský > wrote: >> Hello guys, >> a joke is saying that a number of tabs opened in web browser related >> to some problem could help you to estimate the time needed for >> implementation. >> I have now about

Re: Securing jaxrs REST interface with HTTP Basic auth

2013-05-20 Thread Martin Stiborský
ible with this way of registering jax-rs? The provider definitelly works like that, that's good. But everything else doesn't work :P On Mon, May 20, 2013 at 12:01 PM, Martin Stiborský wrote: > Ok, so it seems that impleme

Re: Securing jaxrs REST interface with HTTP Basic auth

2013-05-20 Thread Martin Stiborský
wow, works, many thanks to you. I promised already few, but I should really write some tutorial on this topic…give me a slap if I don't do it next weekend… On Mon, May 20, 2013 at 1:26 PM, Sergey Beryozkin wrote: > Hi > > On 20/05/13 12:19, Martin Stiborský wrote: >> >&

Re: Securing jaxrs REST interface with HTTP Basic auth

2013-05-20 Thread Martin Stiborský
Basic auth. So, if a request is signed with SSL cert, try to authorize with certificate, if the request is signed with HTTP Basic, use that instead of certificate. I guess I have to move it all into CXF filter, right? To get such "authorization chain". On Mon, May 20, 2013 at 7:44 PM, M

Re: prevent CamelContext from shutting down in blueprint

2013-05-23 Thread Martin Stiborský
at 11:04 AM, Ioan Eugen Stan wrote: > Hello Achim, > > Setting logging to DEBUG helped more than expected. The Context > doesn't shut-down anymore. It's a synchronization issue which will be > a a "joy" to debug. > > Have a great day, -- S pozdravem /

Re: Upgrade Camel 2.10.1 - 2.11.0 - Camel keeps restarting

2013-05-23 Thread Martin Stiborský
-td5733004.html On Fri, May 3, 2013 at 8:35 AM, Claus Ibsen wrote: > Hi > > Did you figure out this problem? > > On Wed, May 1, 2013 at 1:42 PM, Martin Stiborský > wrote: >> Hi guys, >> I'm trying to upgrade Camel and Karaf in our project to newer version, >&

Re: prevent CamelContext from shutting down in blueprint

2013-05-23 Thread Martin Stiborský
ple: Just after the Camel Context start it shuts down, > gracefully. I've pasted the logging with debug [1]. > If it helps. > > [1] https://paste.apache.org/cnfW -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Upgrade Camel 2.10.1 - 2.11.0 - Camel keeps restarting

2013-05-23 Thread Martin Stiborský
ect, Open Source Integration specialist, Program > Manager | Apache > Camel Committer > http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani > http://blog.raulkr.net | twitter: @raulvk > > On Thu, May 23, 2013 at 1:04 PM, Martin Stiborský < > martin.stibor...@gmai

staticResources for websocket in OSGi/blueprint environment

2013-05-27 Thread Martin Stiborský
a html file, neither with "file:" nor with "classpath:". Guys, how should be "staticResource" configured to get it working? -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: staticResources for websocket in OSGi/blueprint environment

2013-05-28 Thread Martin Stiborský
OSGi integration. > > > > > On Mon, May 27, 2013 at 6:41 PM, Martin Stiborský > wrote: >> Hi all, >> I'm preparing a demo application for my tommorow talk about Apache >> Camel for "Java morning coffee" session in the company where I'm >>

Re: CamelOne

2013-05-28 Thread Martin Stiborský
ommitter: https://camel.apache.org/team >> V.P. Apache Camel: https://www.apache.org/foundation/ >> Apache Member: https://www.apache.org/foundation/members.html >> >> https://www.linkedin.com/pub/christian-mueller/11/551/642 >> > > -- > Jean-Baptiste Onofré

Re: Upgrade Camel 2.10.1 - 2.11.0 - Camel keeps restarting

2013-06-11 Thread Martin Stiborský
option, it works. I tried also camel 2.11.1-SNAPSHOT but it seems that the problem is there as well. So far I don't know more, just that without this option I haven't noticed any problem. On Thu, May 23, 2013 at 3:25 PM, Martin Stiborský wrote: > Hi! > We are using "featur

Re: Upgrade Camel 2.10.1 - 2.11.0 - Camel keeps restarting

2013-06-12 Thread Martin Stiborský
Hello, it's deployed to Karaf 2.3.1 On Wed, Jun 12, 2013 at 4:35 AM, Willem Jiang wrote: > which version of Karaf are you using? It looks like a Karaf issue. > I don't think camel's change will cause this issue. > > 发自我的 iPhone > > 在 2013-6-12,上午1:51,Martin Stib

Referencing OSGi services with RouteBuilder classes for use in CamelContext

2013-06-24 Thread Martin Stiborský
g this answer from Claus (http://stackoverflow.com/a/13439844/805219) I guess the idea is possible, just my implementation is wrong. -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Camel related job

2013-06-24 Thread Martin Stiborský
eople. I'm thinking about my current job and what to do next. Still I'd like to continue with Apache Camel… Thanks for replies! -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

unit testing jaxrs routes

2013-07-20 Thread Martin Stiborský
va:242) at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:150) ... 44 more Do you have some idea what is wrong? Maybe wrong version of cxf for testing? -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: unit testing jaxrs routes

2013-07-20 Thread Martin Stiborský
ok the problem is definitelly caused by missing and wrong dependencies On Sat, Jul 20, 2013 at 5:20 PM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > Hello guys, > I'm trying to write tests for my jaxrs routes. I checked tests for jaxrs > written for camel-cx

NPE with splitter, aggregator and JMS - properties and transferExchange option

2013-07-22 Thread Martin Stiborský
ansferring the exchange always pass), but sometimes this exception occur: https://gist.github.com/stibi/6052726 I'm running Camel 2.11.0. Maybe it could be related to this issues: https://issues.apache.org/jira/browse/CAMEL-6218 -- S pozdravem / Best regards Martin Stiborský Jabber: st..

Re: NPE with splitter, aggregator and JMS - properties and transferExchange option

2013-07-22 Thread Martin Stiborský
Fortunately I can solve the problem with kind of workaround - not passing exchange to JMS and use just Exchange headers. That works for me. Anyway i'd like to know what is wrong with the transferExchange=true solution. On Mon, Jul 22, 2013 at 12:01 PM, Martin Stiborský < marti

http4 component and preemptive authentication

2013-08-21 Thread Martin Stiborský
com/Camel-HTTP4-not-able-to-use-httpContext-endpoint-option-td5735937.html But I don't like to know your opinion and how it should work in http4 component. Thanks guys! -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Referencing OSGi services with RouteBuilder classes for use in CamelContext

2013-09-02 Thread Martin Stiborský
; > to reproduce would be lovely to play with. > > > > On Mon, Jun 24, 2013 at 2:20 PM, Martin Stiborský > > wrote: > >> Hello guys, > >> I'd like to ask first if I'm wrong or not... > >> I have a bundle, where is defined CamelContext in blu

Re: http4 component and preemptive authentication

2013-09-03 Thread Martin Stiborský
s. As you know we love contributions. And > patches and JIRA tickets is welcome > > On Wed, Aug 21, 2013 at 1:47 PM, Martin Stiborský > wrote: > > Hello guys, > > I just switched http component for all my routes to http4 component, we > did > > some performance test

JSON (de)serializing with Jackson - version problem

2013-09-10 Thread Martin Stiborský
herited. I guess, I have to somehow pass the DataFormat object with Jackson to the testing CamelContext? I know there is the "createJndiContext" method, I'm using it to pass mocked dependencies for the routes in test...is this the way? Thanks! -- S pozdravem / Best regards Mart

Re: JSON (de)serializing with Jackson - version problem

2013-09-10 Thread Martin Stiborský
used while running the unit tests (my guess :)) On Tue, Sep 10, 2013 at 12:42 PM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > Hello guys, > I have this problem, it was first quite strange, why it's happening, but > then I saw the obvious problem... > It'

Re: JSON (de)serializing with Jackson - version problem

2013-09-10 Thread Martin Stiborský
scope the correct artifact version is used for testing :) On Tue, Sep 10, 2013 at 1:15 PM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > I see that JacksonDataFormat for Camel 2.11.x is using already the newer > Jackson: > > https://github.com/apache/camel/blob/camel

Restlet component with OSGi/Blueprint

2012-09-26 Thread Martin Stiborský
day, the "Camel in Action" book just arrived for me, I hope I'll fill the most critical knowledge gaps soon, but in the mean time, could you help me, guys? Thanks! -- S pozdravem Martin Stiborský Jabber: st...@njs.netlab.cz

Simple route with restlet and text stream as the output

2012-10-18 Thread Martin Stiborský
@Override public void process(Exchange exchange) throws Exception { Response response = exchange.getIn().getHeader(RestletConstants.RESTLET_RESPONSE, Response.class); response.setEntity("test", MediaType.TEXT_PLAIN); exchange.getOut()

Re: Simple route with restlet and text stream as the output

2012-10-18 Thread Martin Stiborský
return "Tested with TestBean: " + data; } } Is it all correct? Or not, or at least, what should be improved or something? :) Thanks. On Thu, Oct 18, 2012 at 2:02 PM, Martin Stiborský wrote: > Hello guys, > I'm here again with probably quite obvious things that I haven'

Re: Simple route with restlet and text stream as the output

2012-10-18 Thread Martin Stiborský
Oh, again me here :) Now I see the problem. {DATA} is not passed to the testBean… This needs to be solved. On Thu, Oct 18, 2012 at 3:03 PM, Martin Stiborský wrote: > Ooops. I guess, I was trying to find there something complicated, but > it works just like that: > > from("re

Re: Simple route with restlet and text stream as the output

2012-10-18 Thread Martin Stiborský
I'm a little bit alone here…but…I've fixed the problem… public class TestBean { public String test(@Header("DATA") String data) { return "Tested with TestBean: " + data; } } On Thu, Oct 18, 2012 at 3:07 PM, Martin Stiborský wrote: > Oh, again me her

How to use camel component properties outside camel context

2012-10-19 Thread Martin Stiborský
nt syntaxe - ${key.something} - but, this is not working. Complete example: Is there a possibility to use one properties file both inside and outside camel context? Thanks! -- S pozdravem Martin Stiborský Jabber: st...@njs.netlab.cz

Re: How to use camel component properties outside camel context

2012-10-21 Thread Martin Stiborský
blogspot.com (http://willemjiang.blogspot.com/) > (English) > http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) > Twitter: willemjiang > Weibo: willemjiang > > > > > > On Saturday, October 20, 2012 at 6:54 AM, Martin Stiborský wrote: > >> He

Logging level for Spring framework

2012-10-22 Thread Martin Stiborský
lems. I was trying to change log level for spring framework, but it doesn't helped. etc/org.ops4j.pax.logging.cfg log4j.logger.org.springframework=DEBUG, myCustomAppender What am I missing? Thanks guys! -- S pozdravem Martin Stiborský Jabber: st...@njs.netlab.cz

Re: Logging level for Spring framework

2012-10-22 Thread Martin Stiborský
All other configuration org.ops4j.pax.logging.cfg remained not touched. On Mon, Oct 22, 2012 at 11:06 PM, Christian Müller wrote: > Could you share the complete logging configuration. > > Sent from a mobile device > Am 22.10.2012 21:03 schrieb "Martin Stiborský" : > >> He

Re: Logging level for Spring framework

2012-10-23 Thread Martin Stiborský
age with log level a specified appender, no help. There have to be something really stupid as my mistake, but I can't find it, because I have there injected also another, dummy class, and there the logging is working. -- S pozdravem Martin Stiborský Jabber: st...@njs.netlab.cz

Re: Logging level for Spring framework

2012-10-26 Thread Martin Stiborský
:D now it's working, I don't know what changed… Crazy, I need a break I guess… On Tue, Oct 23, 2012 at 7:22 PM, Martin Stiborský wrote: > Hello, > > On Mon, Oct 22, 2012 at 9:18 PM, Hilde wrote: >> Hello, >> >> why do you incorporate >> >> log4j

Split, transform and aggregate RSS XML feed

2012-11-02 Thread Martin Stiborský
nario fit the transformation part? Right in the Aggregation Strategy? Why not, it works as well for me. But I'm not sure, if all that is correct. There should be separated transformation step in the route, what you say? Thanks for hints, guys! -- S pozdravem Martin Stiborský

Re: Split, transform and aggregate RSS XML feed

2012-11-03 Thread Martin Stiborský
The content enricher (enrich) retrieves additional data from a resource > endpoint in order to enrich an incoming message (contained in the original > exchange). An aggregation strategy is used to combine the original exchange > and the resource exchange. > -Original Message- &g

Re: Split, transform and aggregate RSS XML feed

2012-11-03 Thread Martin Stiborský
pieces together. > > Or you can possible do the List to JSON after the composed > message processor eip using a data format that can format a List > to a List JSON format. > > Using XSLT I would stay away from. That is often hard to get right and > for other people to maintain.

Confused with REST API consumer with CXF(RS)

2012-11-06 Thread Martin Stiborský
quot;DemoServer". Again, it works, but I'm not sure about pros/cons too much here :) With Restlet, I've had there separate route for each kind of REST requests, it was easy to have like that. So, maybe it's just wrong, maybe not, that's why I'm asking :) Thank you guys, for any hint. -- S pozdravem Martin Stiborský Jabber: st...@njs.netlab.cz

Camel/Karaf hangs on org.apache.cxf.cxf-rt-core during Karaf startup

2012-11-16 Thread Martin Stiborský
) [org.apache.camel.component.cxf.transport.CamelTransportFactory] Some dependency is missing, probably, right? How can I find out which one? Thanks! -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: How to use camel component properties outside camel context

2012-11-16 Thread Martin Stiborský
Hello Martin, Blueprint configuration admin service is the key. http://www.liquid-reality.de/display/liquid/2011/09/23/Karaf+Tutorial+Part+2+-+Using+the+Configuration+Admin+Service I can send you a complete code example, but right now I have just phone available. If nobody help you sooner, I'll

Re: How to use camel component properties outside camel context

2012-11-17 Thread Martin Stiborský
; http://camel.465427.n5.nabble.com/How-to-use-camel-component-properties-outside-camel-context-tp5721318p5722880.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Camel/Karaf hangs on org.apache.cxf.cxf-rt-core during Karaf startup

2012-11-18 Thread Martin Stiborský
r: willemjiang > Weibo: willemjiang > > > > > > On Friday, November 16, 2012 at 9:22 PM, Martin Stiborský wrote: > > > Hello, > > I have this problem…When I deploy my bundle to Karaf, it hangs at this > > point during startup: > > > > 2012-11-

Marshalling POJO class to JSON String formatted output

2012-11-26 Thread Martin Stiborský
h/llvbflokwiheuby/X65PdXfwnJ/esb_pojo_marshall_debug.png Btw, it's String representation of the Message or what? -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Marshalling POJO class to JSON String formatted output

2012-11-26 Thread Martin Stiborský
tring: " + json); On Mon, Nov 26, 2012 at 8:22 PM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > Hello guys, > I'd like to ask you, I have a POJO classes, holding data representation of > various kinds of data entities. > Output of my Camel routes is JSON

Jackson custom configuration

2012-11-27 Thread Martin Stiborský
ipqn6+vdftwavka7odowxb_nnheutreys8bj4op5jyeab...@mail.gmail.com%3E It gives me a way, but still, I don't have working example for my case. Do you have any hints, please? -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Jackson custom configuration

2012-11-30 Thread Martin Stiborský
Thanks, I'll keep my eye on it. I'll check source codes too, to get idea how it works. On Fri, Nov 30, 2012 at 1:21 PM, Claus Ibsen wrote: > Hi > > I have logged a ticket about this > https://issues.apache.org/jira/browse/CAMEL-5836 > > On Tue, Nov 27, 2012 a

Re: Camel/Karaf hangs on org.apache.cxf.cxf-rt-core during Karaf startup

2012-12-03 Thread Martin Stiborský
| http://www.redhat.com > Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) > (English) > http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) > Twitter: willemjiang > Weibo: willemjiang > > > > > > On Monday, November 19, 2012

XML deserialization with Jackson 2.1.1 - NoClassDefFoundError DelegatingDeserializer

2012-12-05 Thread Martin Stiborský
Jackson dependencies in Karaf. The deserialization works on my workstation, in unit tests. But I don't get it why it's the class or maybe complete package not available on Karaf server. -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: XML deserialization with Jackson 2.1.1 - NoClassDefFoundError DelegatingDeserializer

2012-12-06 Thread Martin Stiborský
Fixed https://jira.codehaus.org/browse/JACKSON-879. On Wed, Dec 5, 2012 at 10:48 PM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > Hello guys, > I have a problem with XML deserialization to POJO class in a java bean, > used in Camel route. > The problem is followi

Fetching webpages with CXF on the producer endpoint side

2013-01-04 Thread Martin Stiborský
27;m not sure why and where it's wrong... Is there a way how to make it work? Sure I can write my own bean to fetching data with HTTP requests, but I was thinking that Camel HTTP component could be capable of that. -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Fetching webpages with CXF on the producer endpoint side

2013-01-04 Thread Martin Stiborský
otected RouteBuilder createRouteBuilder() { return new RouteBuilder() { @Override public void configure() throws Exception { from("direct:start").to("http://www.google.com ").to("mock:fetchWebpage"); } }; } }

Re: Fetching webpages with CXF on the producer endpoint side

2013-01-04 Thread Martin Stiborský
kinsServer") .choice() .when(header(CxfConstants.OPERATION_NAME).isEqualTo("test")) .setBody(constant("")) .to("http://www.google.com?bridgeEndpoint=true";) .unmarshal().gzip().convertBodyTo(String.class) Woooohoooo :) On Fri, Jan 4, 2013 at 3:07 PM, Martin

Re: Fetching webpages with CXF on the producer endpoint side

2013-01-05 Thread Martin Stiborský
talk to me, I feel really alone here :) On Fri, Jan 4, 2013 at 10:36 PM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > Finally solved. About time, it was out of options anyway, it was > inevitable to stumble over correct solution :D > Two things, erase exchange body pass

Route branches identification for logging purposes ( CXFRS + operation name header condition)

2013-01-12 Thread Martin Stiborský
uteId, but I don't know which branch was in action for particular log record. Is there a way how to put some marker to every branch within one route so I can recognize it in the log file? Thanks for help. -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: CXFRS: Share port number across bundles

2013-01-12 Thread Martin Stiborský
Hi Raul and Sergey, Guys please, could you explain more for me the "second option" ? I missed the point I guess. Thanks! On Jan 11, 2013 3:00 PM, "Sergey Beryozkin" wrote: > Hi Raúl > On 11/01/13 13:28, Raul Kripalani wrote: > >> Hi Sergey, >> >> Thanks for the quick answer. We were already on o

Re: CXFRS: Share port number across bundles

2013-01-15 Thread Martin Stiborský
//blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk> > > On Tue, Jan 15, 2013 at 10:01 AM, Sergey Beryozkin >wrote: > > > Hi > > > > On 12/01/13 14:53, Martin Stiborský wrote: > > > >> Hi Raul and Sergey, > >> Guys please, coul

Filtering XML exchange body content

2013-01-23 Thread Martin Stiborský
Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: [ANN] hawtio: a new lightweight HTML5 console for Apache Camel, ActiveMQ, JMX, OSGi & Fuse Fabric

2013-01-25 Thread Martin Stiborský
amel plugin: > > https://github.com/hawtio/hawtio/issues?labels=camel&page=1&sort=updated&state=open > > or if you've an itch for a new kind of plugin please dive in! We > should be able to expose existing web apps/consoles as links inside > hawtio too BTW. > > Feedback appreciated! Its hawt, but stay cool! ;) > > -- > James > --- > Red Hat > > Email: jstra...@redhat.com > Web: http://fusesource.com > Twitter: jstrachan, fusenews > Blog: http://macstrac.blogspot.com/ > > Open Source Integration > -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Configuring SSL for CXF-RS consumers in Camel

2013-02-05 Thread Martin Stiborský
html) but the "https" resource was not working (connection refused), following the advices in the discussion there. Now I'm going to take a look on "http conduit", but anyway, I'd like to ask you for hints. Thanks! -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Configuring SSL for CXF-RS consumers in Camel

2013-02-07 Thread Martin Stiborský
On Wed, Feb 6, 2013 at 11:15 AM, Sergey Beryozkin wrote: > On 05/02/13 22:19, Martin Stiborský wrote: > >> Hello guys, >> just a quick question, because, I'm a little bit lost… >> What is the preffered way to configure SSL for REST interface in Camel >> project? >

Re: Configuring SSL for CXF-RS consumers in Camel

2013-02-07 Thread Martin Stiborský
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: > &

Re: Configuring SSL for CXF-RS consumers in Camel

2013-02-07 Thread Martin Stiborský
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

Re: Configuring SSL for CXF-RS consumers in Camel

2013-02-07 Thread Martin Stiborský
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 rea

camel-ssh - SSH keys authentication

2013-02-14 Thread Martin Stiborský
east some hint? I promise I'll extend Camel wiki related to this topic definitely :P -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: camel-ssh - SSH keys authentication

2013-02-14 Thread Martin Stiborský
As usually, problem solved few minutes after I posted this "call for help message". Really there was a problem with loading the private key from resources. Now it works...my next message will be about updating the camel-ssh wiki :) On Thu, Feb 14, 2013 at 10:37 AM, Martin

Re: camel-ssh - SSH keys authentication

2013-02-14 Thread Martin Stiborský
#x27;t clear... > > Thanks, > Scott > > > > On Thu, Feb 14, 2013 at 5:48 AM, Martin Stiborský > wrote: > > As usually, problem solved few minutes after I posted this "call for help > > message". > > Really there was a problem with loading the priva

Re: camel-ssh - SSH keys authentication

2013-02-14 Thread Martin Stiborský
Still one problem…the unit test was fine, but now in OSGi environment, there are more troubles… Is there some trick how to get resource from a bundle? I can't get a reference to the key file stored in src/main/resources :( On Thu, Feb 14, 2013 at 12:25 PM, Martin Stiborský < marti

Re: camel-ssh - SSH keys authentication

2013-02-14 Thread Martin Stiborský
uess…some classpath issue? I don't know, I have quite a headache from this already, need a break. On Thu, Feb 14, 2013 at 3:13 PM, Claus Ibsen wrote: > On Thu, Feb 14, 2013 at 2:57 PM, Martin Stiborský > wrote: > > Still one problem…the unit test was fine, but now in OSGi en

Re: camel-ssh - SSH keys authentication

2013-02-14 Thread Martin Stiborský
ass().getResourceAsStream("/gitkeys/mykey.pem"); String myString = IOUtils.toString(is, "UTF-8"); exchange.getOut().setBody(myString); } }); So, no OSGi trouble here I guess… On Thu, Feb 14, 2013 at 9:0

Re: camel-ssh - SSH keys authentication

2013-02-15 Thread Martin Stiborský
at 8:40 AM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > So, maybe the problem is really in the camel-ssh component, because, it's > possible to get the key from resources, like that: > > from("cxfrs:bean:gitServer") > .

Re: camel-ssh - SSH keys authentication

2013-02-15 Thread Martin Stiborský
ory) I'll follow advice from Claus Ibsen and check ResourceHelper and how it could be used in camel-ssh... On Fri, Feb 15, 2013 at 9:01 AM, Martin Stiborský < martin.stibor...@gmail.com> wrote: > One more weird thing, from the log file: > > 2013-02-15 08:58:22

Re: camel-ssh - SSH keys authentication

2013-02-15 Thread Martin Stiborský
ntly... > > Re mulitple ids: you can add multiple component instances with > different ids (e.g. sshGit) and reference them from Camel by those > ids. > > addComponent("sshGit", sshGitComponent) > > .to("sshGit:git@localhost) > > On Fri, Feb 15, 2013 at 4:2

Packaging camel project (under Karaf)

2013-02-27 Thread Martin Stiborský
ual part with starting Carafe and repackaging to get it really ready? -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi

Re: Publish/Subscribe with Camel

2013-03-13 Thread Martin Stiborský
s > > > Bilgin > > > > > > > > -- > > Claus Ibsen > > - > > Red Hat, Inc. > > FuseSource is now part of Red Hat > > Email: cib...@redhat.com > > Web: http://fusesource.com > > Twitter: davsclaus > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > > -- S pozdravem / Best regards Martin Stiborský Jabber: st...@njs.netlab.cz Twitter: http://www.twitter.com/stibi