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
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
st regards
Martin Stiborský
Jabber: st...@njs.netlab.cz
Twitter: http://www.twitter.com/stibi
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
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
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:
>>
>&
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
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 /
-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,
>&
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
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
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
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
>>
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é
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
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
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
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
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
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
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..
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
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
; > 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
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
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
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'
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
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
@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()
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'
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
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
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
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
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
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
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
: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
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ý
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
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.
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
)
[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
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
; 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
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-
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
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
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
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
| 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
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
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
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
otected RouteBuilder createRouteBuilder() {
return new RouteBuilder() {
@Override
public void configure() throws Exception {
from("direct:start").to("http://www.google.com
").to("mock:fetchWebpage");
}
};
}
}
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
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
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
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
//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
Best regards
Martin Stiborský
Jabber: st...@njs.netlab.cz
Twitter: http://www.twitter.com/stibi
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
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
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?
>
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:
>
&
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
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
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
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
#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
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
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
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
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")
> .
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
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
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
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
79 matches
Mail list logo