Undertow HTTP client

2023-10-09 Thread Martin Möller
lready use them without any configuration. How can we configure the undertow component to use the default system certificates? Thanks Martin

Re: Objects not propagated to Camel Kafka 3.18.4

2023-01-06 Thread Martin Pelikán
t; You cannot use complex object types, only string literal, numbers, booleans > etc. > > So what you need to do is to create those objects with some bean id (spring > boot @Bean stuff) and then refer to them via their bean id. > > Something ala > > > .additionallPropertie

Re: Objects not propagated to Camel Kafka 3.18.4

2023-01-05 Thread Martin Pelikán
latel Claus Ibsen napsal: > > Whats the real world use-case for additional properties as Object or Map. > What would kafka understand and use these for? > > On Thu, Jan 5, 2023 at 5:12 PM Martin Pelikán wrote: > > > Hi Camel experts, > > > > I am struggling with

Objects not propagated to Camel Kafka 3.18.4

2023-01-05 Thread Martin Pelikán
xxx&additionalProperties.testStringKey2=xxx&additionalProperties.schema.registr.url=xxx.. Is it a bug in Camel or did I understand the documentation wrong? I can prepare a test case later Best regards, Martin

camel-openapi-java - rendering the API causes ClassCastException

2022-05-18 Thread Martin Lichtin
There's a bean with this annotation     @Size(min = 1, max = 10)     @NotNull     private java.lang.String name; looks like causing 2022-05-18T11:56:27,906 | WARN  | qtp534549026-548 | RestOpenApiProcessor | mel.openapi.RestOpenApiProcessor   78 | 257 - org.apache.camel.ca

Re: Karaf BundleStateService not accessible

2022-05-18 Thread Martin Lichtin
7;s worth it to improve this. Can you please share a test case to reproduce it (I tried and it works fine for me) ? Thanks, Regards JB On Mon, May 16, 2022 at 11:56 AM Martin Lichtin wrote: I was wondering of any side-effects once this message appears BlueprintCamelStateSe

Karaf BundleStateService not accessible

2022-05-16 Thread Martin Lichtin
I was wondering of any side-effects once this message appears BlueprintCamelStateService  137 | 134 - org.apache.camel.karaf.camel-blueprint - 3.14.3 | Karaf BundleStateService not accessible. Bundle state won't reflect Camel context state not instantly seeing an issue, just curious about it

Adding Routes while camelContext status is Initializing

2022-05-10 Thread Martin Lichtin
Is there potentially a race condition when calling addRoutes while camelContext status is 'Initializing'? I noticed the routes are not actually added in such a case, but no error or warning appears, they're just silently ignored. Creating the CamelContext with blueprint, then adding the route

Sometimes ConcurrentModificationException during Karaf bundle blueprint startup

2022-05-08 Thread Martin Lichtin
Would you have an idea what could provoke this? It happens infrequently 2022-05-08T22:14:54,999 | ERROR | rint Event Dispatcher: 1 | BlueprintCamelContext    | .blueprint.BlueprintCamelContext  190 | 188 - org.apache.camel.karaf.camel-blueprint - 3.14.3 | Error occurred during starting

Camel 3.14.2 features, xml-specs-api loading jaxb-runtime/2.3.1_1

2022-05-03 Thread Martin Lichtin
Camel 3.14.2 features, xml-specs-api loading jaxb-runtime/2.3.1_1 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-runtime/2.3.1_1 but better would be to load jaxb-runtime version 2.3.2_1 as this version contains the "com.sun.istack" classes that 2.3.1_1 is missing.

Camel 3.14.2 - camel-cxf-transport restricted version for cxf to 3.4

2022-05-02 Thread Martin Lichtin
Any reason the version for org.apache.cxf packages is so restricted? e.g. in the camel-cxf-transport  MANIFEST: Import-Package: ., org.apache.cxf.transport;version="[3.4,3.4]" means exactly version 3.4.0 is required. filter:="(&(osgi.wiring.package=org.apache.cxf)(version>=3.4.0)(version<=3

Timer route stop causes RejectedExecutionException - camel 3.14.2

2022-05-02 Thread Martin Lichtin
Is there a way to avoid such exceptions on a timer:// route stop? java.util.concurrent.RejectedExecutionException: null     at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:429) ~[?:?]     at org.apache.camel.processor.errorhandler.Re

Migration from 2.x to 3.x

2021-08-27 Thread Martin Lichtin
, how will that work? - Martin

Camel 2.x http4 component - proxy configuration

2021-06-15 Thread Martin Lichtin
https://camel.apache.org/components/2.x/http4-component.html The documentation lists two Uri parameters, "proxyAuthHost" and "proxyHost" (and again two for 'Port'). Is there a difference, or are both offering the same functionality to configure the proxy host

Re: Re: How to configure shutdown timeout

2020-08-24 Thread Martin Lichtin
� ��� � On 19.08.2020 16:01, Alex Soto wrote: Thanks Alex, Also looking for a way to configure this in a Blueprint XML file. Best regards, Alex soto On Aug 18, 2020, at 11:13 AM, Alex Dettinger wrote: Hi Alex, It seems the timeout is tuned after the context creation. On

Re: Re: Camel to not lookup OSGi services when looking up a bean

2020-07-03 Thread Martin Lichtin
Yes that's the case currently. OsgiDefaultCamelContext updates the registry and inserts OsgiServiceRegistry as the first registry into the list. It would make more sense to keep the default Camel Bean registry at the head of this list. - Martin On 01.07.2020 11:48, Jean-Baptiste Onofre

Re: Re: Camel to not lookup OSGi services when looking up a bean

2020-07-01 Thread Martin Lichtin
Hi JB I would, if that was the issue. However in all the CamelContexts I'm only using regular beans, not calling an OSGi service. Ideally there should be a way to tell Camel to not look into the OSGi registry when resolving bean names. But seems hardcoded? - Martin On 29.06.2020 09:34,

Re: Re: Camel to not lookup OSGi services when looking up a bean

2020-06-29 Thread Martin Lichtin
figured such as                   I don't see this bean lookup behaviour for "normal" CamelContexts, so caching seems to work, but not in this case here. - Martin On 27.06.2020 07:59, Claus Ibsen wrote: You can cache the bean so the lookup is only done once. to("bean:foo?cache=

Re: Re: Camel to not lookup OSGi services when looking up a bean

2020-06-26 Thread Martin Lichtin
It's Camel 2.24.3 On 25.06.2020 17:10, Andrea Cosentino wrote: What is the camel version for this? Il giorno gio 25 giu 2020 alle ore 17:09 Martin Lichtin ha scritto: Is there a way to tell Camel to not search OSGi services when looking up a bean? It seems by default it's co

Camel to not lookup OSGi services when looking up a bean

2020-06-25 Thread Martin Lichtin
quest, HttpServletResponse)    9    1.987 - Martin

RE: netty tcp consumer not reading large payload [General Use]

2019-10-08 Thread Walke, Martin (Leonardo, UK)
message have an 'end-of-message' byte value? You need to create a decoder factory class to put the incoming stream into an effective delimited message . Regards Martin From: Rohan Emmanuel [via Camel] [mailto:ml+s465427n5844754...@n5.nabble.com] Sent: 08 October 2019 12:59 To: Walke,

Camel enrich+simple+http4 endpoint open too many connections

2019-07-28 Thread Martin Pelikán
stered beforehand as new bean including sslContextParameters bean. More details: https://github.com/pelikanmartin/camel-enrich-too-many-connections Is it standard behavior? Thank you, Martin

Camel CXFRS - no message body reader for Response

2019-04-30 Thread Martin Pelikán
Hello, we are facing an issue with Camel CXF-RS component after migrating from version 2.17.6 to 2.20.1. Use case: Simple Proxy service with CXFRS server and client. Service class uses Response object. Simple binding style is used. Target endpoint produces XML response of Content-Type application

Detecting netty4 client disconnect [General Use]

2019-01-24 Thread Walke, Martin (Leonardo, UK)
x27; method, when the server disconnects. The only other solution we have is to restart JBoss - which is installed as a service. This is not really acceptable as it's installed as a component in a critical system. Can anyone suggest how this may be done? I guess I may have to write my

How to override dlqDeliveryFailureCause

2018-08-17 Thread Martin Pelikán
: Version of AMQ: 5.15.2 Version of Camel: 2.20.1 Thank you. Martin

Re: swagger.json generation without host set to 0.0.0.0

2018-07-17 Thread Martin Lichtin
port number. Ideally the RestConfiguration would get the port from the servlet, but not sure how that could work. - Martin On 12.07.2018 22:10, Rafael Soares wrote: Hi! Try the following conf: * * Regards. Rafael Torr

swagger.json generation without host set to 0.0.0.0

2018-07-12 Thread Martin Lichtin
Anyone know how I can configure so the generated swagger.json does not set host: "0.0.0.0"? With this 0.0.0.0 I cannot, for example, import the Swagger directly into Postman and make calls to the API. https://swagger.io/docs/specification/2-0/api-host-and-base-path/ says the "host" can be omi

Route statistics not updated on Exception

2018-06-28 Thread Martin Pelikán
ot;false" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ "> <some logic..> Camel version: 2.17.6 Operating system: Linux Ubuntu 16.04, Windows 8 Java 8, various versions Thank you, Martin

File2 error during commit, how can I handle the exception?

2018-05-20 Thread Martin Lichtin
Using the File2 component (2.19.5), I'm provoking a situation with the "move" folder no longer being writable. This causes the following exception to occur and logged during the "commit" phase. And then, with every consumer poll, the same file is being imported again and again! Not a good situa

Re: Re: DirectConsumerNotAvailableException: No consumers available on endpoint

2018-05-05 Thread Martin Lichtin
ub.com/apache/camel/blob/camel-2.19.x/camel-core/src/main/docs/direct-component.adoc> which you may need to set to true on your own in 2.19.5. On Thu, Apr 26, 2018 at 6:24 PM, Martin Lichtin wrote: After upgrading from 2.18 to 2.19.5, I'm often seeing this exception at startup. It looks li

DirectConsumerNotAvailableException: No consumers available on endpoint

2018-04-26 Thread Martin Lichtin
ava:225)     at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:144)     at org.apache.camel.impl.DefaultProducerTemplate.sendBodyAndHeaders(DefaultProducerTemplate.java:257) Thanks - Martin

Question about Exchange properties when using File component

2018-04-17 Thread Martin Lichtin
Started using the File component (2.19.5) and seeing exchange properties with prefixed names that don't seem to make sense: "CompletePathAndFilename"-CamelFileLockFileAcquired=true, "CompletePathAndFilename"-CamelFileLockFileName="CompletePathAndFilename".camelLock, where "CompletePathAndFile

Re: Camel REST: jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError)

2017-12-06 Thread Martin Lichtin
To make REST use my own ObjectMapper, I try below but it doesn't work. Anyone have an example that does?       http://camel.apache.org/schema/blueprint";>                   Thanks for a hint. On 01.11.2017 22:21, Martin Lichtin wrote: I

Camel REST: jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError)

2017-11-01 Thread Martin Lichtin
to ask for pointers where and how Camel (2.18.5) creates and configures its ObjectWriter that is used in RestConsumerBindingMarshalOnCompletion? - Martin

Re: Re: OnException - out body length limited by input body length

2017-09-27 Thread Martin Lichtin
the Camel* headers, the params from the Url query string, etc... On 25.09.2017 15:26, Claus Ibsen wrote: Remove the Content-Length header when you change the body On Mon, Sep 25, 2017 at 2:47 PM, Martin Lichtin wrote: Using an to handle an exception, I want to mark the situation as 'ha

OnException - out body length limited by input body length

2017-09-25 Thread Martin Lichtin
g a way to properly set the output. Thanks - Martin

Re: Rest DSL - how to pass PUT body as method argument

2017-09-18 Thread Martin Lichtin
null On 16.09.2017 18:34, Martin Lichtin wrote: Camel Rest DSL Want to ask how can one pass the body of a PUT request to a method positional argument. Eg, with bindingMode=json will the magic ${body} work?                 with the method in Java as     update(String id

Rest DSL - how to pass PUT body as method argument

2017-09-16 Thread Martin Lichtin
in Action, 2nd ed), but can't find an example anywhere. Thanks - Martin .

Issue with CamelServlet when upgrading to 2.18 (OSGi)

2017-06-10 Thread Martin Lichtin
Trying to upgrade from 2.17.7 to 2.18.4 I'm running into the following problem: org.osgi.service.blueprint.container.ComponentDefinitionException: org.apache.aries.proxy.FinalModifierException: The methods protected final void org.apache.camel.http.common.CamelServlet.service(javax.servlet.http

Runtime endpoint registry is in extended mode

2017-05-29 Thread Martin Lichtin
Upgrading from 2.16.x to 2.17.7 I see many Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) messages.I'm not setting the statisticslevel, and the default level should not be extended?

Re: Re: In 'onException' - how to decide per-message whether to 'continue' route or not

2017-05-20 Thread Martin Lichtin
13.05.2017 09:35, Claus Ibsen wrote: You can add onWhen where you can do a predicate to decide that per message On Sat, May 13, 2017 at 9:00 AM, Martin Lichtin wrote: One can define a route exception handling to catch and continue: rd.onException(Exception.class).continued(true).process

In 'onException' - how to decide per-message whether to 'continue' route or not

2017-05-13 Thread Martin Lichtin
One can define a route exception handling to catch and continue: rd.onException(Exception.class).continued(true).process(myExceptionHandler) However, how can one decide on a per-message basis (ie. in myExceptionHandler) whether to continue with the route or not? Thanks - Martin

Re: Using rollback() inside onException

2017-04-01 Thread Martin Lichtin
markRollbackOnly() - I’ve never used rollback()) are in routes where something besides an exception determines whether or not I want to rollback the transaction. For what it’s worth ... On Mar 31, 2017, at 6:18 AM, Martin Lichtin wrote: Hi Wanted to ask, what would be a reason to explicitly call

Using rollback() inside onException

2017-03-31 Thread Martin Lichtin
Hi Wanted to ask, what would be a reason to explicitly call rollback() in an onException(). For example, would this make sense? .onException(Exception.class).rollback().end() I'm under the expression above line could just be left out, as Camel anyway lets the exception up and that will caus

Camel context shutdown waiting for ExecutorService

2016-09-07 Thread Martin Lichtin
Hi All Having an issue with Camel context shutdown taking much longer than expected. The trace below shows it quite well. There's 2 seconds "graceful" shutdown, but then it takes 2x10 seconds to "really" shutdown. Any ideas why that could be? Also, how can I reduce the 10 seconds termination time

Re: How to concurrently shutdown routes

2016-07-20 Thread Martin Lichtin
is as-is. You would need to build your custom > shutdown, and that can be a bit more complex if some routes have inter > related dependencies, so you cannot shutdown X before Y etc. > > On Thu, Jul 14, 2016 at 12:01 PM, Martin Lichtin > < > lichtin@.com > > wrote: &

How to concurrently shutdown routes

2016-07-14 Thread Martin Lichtin
Is there a way to shutdown some routes in a context concurrently? The default shutdown strategy seems to handle one route after the other. To speed things up, I'm looking for a way to shutdown a set of routes at once.

XMPP: chat responding not possible

2016-04-05 Thread Martin Scharm
itself: debug Received[c2s]: But I have no idea why.. Am I doing something wrong? I tried adding &participant=human@SERVER to the chatEndpoint which doesn't solve the issue. I also tried to create two separate chat endpoints with different resource names, but that didn't work either. Any help is very much appreciated. Best wishes, Martin signature.asc Description: OpenPGP digital signature

Re: Internal exception thrown for each call to producerTemplate.sendBodyAndHeaders

2016-03-24 Thread Martin Lichtin
gt; What version of Camel do you use. And what is the real stacktrace printed > > And what is the *actual* url you call. As that plain string should be > parsable. > > > > On Thu, Mar 24, 2016 at 10:39 AM, Martin Lichtin > < > lichtin@.com > > wrote: >&g

Internal exception thrown for each call to producerTemplate.sendBodyAndHeaders

2016-03-24 Thread Martin Lichtin
When using a producer template to send messages to a JMS queue, such as producerTemplate.sendBodyAndHeaders("jms:queue:myQ", body, headers); we see how this internally always creates an exception: java.lang.Throwable.(String) line: 267 java.lang.Exception.(String) line: 52 java

REST endpoint with CORS sends invalid header value for Access-Control-Allow-Origin

2015-10-09 Thread Martin Scheffler
d only "*". I tried setting the header value manually: But this results in a header value of "*, localhost" which is also not accepted. A workaround is to set which results in a value of "*" for some reason. Cheers, Martin

Re: COBOL data parse in Camel

2015-10-08 Thread Bruce Martin
cb2xml will convert a Cobol-Copybook into Xml (with Field positions / lengths calculated). This Xml can then parsed with Jaxb or what ever language you choose. A better option would be the Data2Xml program in JRecord . This program will convert a Cobo

Re: Re: camel:context-inflight returns 'Object name cannot be null'

2015-06-07 Thread Martin Lichtin
InflightRepository Not sure why the ",*" at the end would be needed. - Martin On 05.06.2015 08:41, Claus Ibsen wrote: You can do a log:display-exception to get more details. Also what version of Camel, Karaf are you using. And does some of the other karaf camel commands works? On Th

camel:context-inflight returns 'Object name cannot be null'

2015-06-04 Thread Martin Lichtin
Trying a new command. karaf> camel:context-inflight myCamelContext Error executing command: Object name cannot be null

Re: Issue with timer:// route, NoSuchBeanException on route shutdown

2015-05-29 Thread Martin Lichtin
In the end, the solution was to replace with This way, the bean is still referencend and can be called while the other context is shutting down. - Martin Martin Lichtin-2 wrote > This didn't make a difference. > > However, something else I noticed. There is a second CamelC

Re: Issue with timer:// route, NoSuchBeanException on route shutdown

2015-05-27 Thread Martin Lichtin
e depends-on, not sure if blueprint shutdown in reverse order and therefore the bean before camel etc. On Tue, May 26, 2015 at 9:56 PM, Martin Lichtin wrote: Using Blueprint in an OSGi bundle: http://camel.apache.org/schema/blueprint"; xsi:schemaLocation="http://cam

Re: Re: Issue with timer:// route, NoSuchBeanException on route shutdown

2015-05-26 Thread Martin Lichtin
istry. Camel does not remove any beans from it. Its spring that does that. So maybe you have some depends-on spring attribute order wrong or something. On Tue, May 26, 2015 at 12:41 PM, Martin Lichtin wrote: Is anyone else seeing this issue on shutting down a simple timer-based route such as

Re: Re: Issue with timer:// route, NoSuchBeanException on route shutdown

2015-05-26 Thread Martin Lichtin
from it. Its spring that does that. So maybe you have some depends-on spring attribute order wrong or something. On Tue, May 26, 2015 at 12:41 PM, Martin Lichtin wrote: Is anyone else seeing this issue on shutting down a simple timer-based route such as

Issue with timer:// route, NoSuchBeanException on route shutdown

2015-05-26 Thread Martin Lichtin
he bean is prematurely removed from the registry? Or the timer for some reason fires even though the route is in the middle shutting down? - Martin

Re: Issue with 'javax.annotation' when installing 'camel' followed by 'cxf' feature

2015-04-07 Thread Martin Lichtin
ax.annotation/javax.annotation-api/1.2" ahead of installing the 'camel' feature, then I can later install 'cxf'. James Carman wrote > You need to update jre.properties to make sure you have the right version > coming from the jre. What jdk? > > On Monday, Apr

Issue with 'javax.annotation' when installing 'camel' followed by 'cxf' feature

2015-04-06 Thread Martin Lichtin
In a Karaf 3.0.3 container one cannot install feature 'camel' followed by installing 'cxf'. karaf@root()> feature:repo-add mvn:org.apache.camel.karaf/apache-camel/2.15.1/xml/features Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.15.1/xml/features karaf@root()> feature:install

Karaf with Camel 2.15.1, CXF 3.0.4 - which Spring versions can be used?

2015-04-03 Thread Martin Lichtin
Using Camel 2.15.1 and CXF 3.0.4 in a Karaf container, I'm wondering how one can control the Spring version. Camel feature "camel-spring" loads Spring with spring which will result in loading 3.2.11.RELEASE. Is there a way to use Spring 4? - Martin

HDFS component seg numbering

2014-02-20 Thread Martin Menzel
s are written in one directory per day. On hadoop side a map reduce job can than merge the part files together if they are too small, while respecting the order just by sorting them alphabetically. Regards Martin

Re: Property Wiring in camel-Blueprint

2014-01-22 Thread Martin Stockhammer
Hello, try something like this: Greetings Martin Am 22.01.2014 12:40, schrieb Muhzin: > Hi, > How can i refer to a value in an enum in the blueprint, for eg, in this > case We need to specify the member of Regions enum given below to Region > bean. > > > /

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

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'

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: 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

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

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: 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

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: 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

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

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

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

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

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: 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: 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 >>

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: 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

Re: prevent CamelContext from shutting down in blueprint

2013-05-23 Thread Martin Stiborský
yes, it is doing the same to me :) - http://camel.465427.n5.nabble.com/Upgrade-Camel-2-10-1-2-11-0-Camel-keeps-restarting-td5731854.html I'll try to find out more what is happening there... On Thu, May 23, 2013 at 1:53 PM, Ioan Eugen Stan wrote: > Hello Martin, > > It's sim

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ý
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: 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: 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ý
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ý
3 at 10:02 AM, Ioan Eugen Stan wrote: > Hello Martin, > > I think you could try addding a Filter or Interceptor that does Basic > Auth. If you're using CXF you could try something like [1] > > Hope it helps, > > [1] http://cxf.apache.org/docs/secure-jax-rs-services.ht

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

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

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

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

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: 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

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ý
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-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-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ý
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

  1   2   3   >