Re: Problem with Camel 2.17.3 and Karaf 3.0.8

2016-10-04 Thread Matt Sicker
oundException: org.osgi.service.http. > HttpService > > not found by org.apache.cxf.cxf-rt-transports-http [105] > > at org.apache.felix.framework.BundleWiringImpl. > > findClassOrResourceByDelegation(BundleWiringImpl.java:1532) > > at org.apache.felix.framework.BundleWiringImpl.access$400( > BundleWiringImpl.java:75) > > > > at org.apache.felix.framework.BundleWiringImpl$ > > BundleClassLoader.loadClass(BundleWiringImpl.java:1955) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > > ... 7 more > > > > > > -- > > If you reply to this email, your message will be added to the discussion > > below: > > http://camel.465427.n5.nabble.com/Problem-with-Camel-2-17-3- > > and-Karaf-3-0-8-tp5788341.html > > To start a new topic under Camel - Users, email > > ml-node+s465427n465428...@n5.nabble.com > > To unsubscribe from Camel - Users, click here > > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro= > unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aU > BnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > > . > > NAML > > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_ > viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces. > BasicNamespace-nabble.view.web.template.NabbleNamespace- > nabble.view.web.template.NodeNamespace&breadcrumbs= > notify_subscribers%21nabble%3Aemail.naml-instant_emails% > 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Problem-with-Camel-2-17-3-and-Karaf-3-0-8-tp5788341p5788342.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Problem with Camel 2.17.3 and Karaf 3.0.8

2016-10-05 Thread Matt Sicker
ew this message in context: http://camel.465427.n5.nabble. > com/Problem-with-Camel-2-17-3-and-Karaf-3-0-8-tp5788341p5788374.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Designing a Scheduled route in Blueprint

2016-10-06 Thread Matt Sicker
ble. > com/Designing-a-Scheduled-route-in-Blueprint-tp5788459.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: syslog dateformat + log4j syslog appender

2016-10-07 Thread Matt Sicker
ontext: http://camel.465427.n5.nabble. > com/syslog-dateformat-log4j-syslog-appender-tp5788476.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Karaf - 4.0.7(Felix): JmsBinding not found

2016-10-24 Thread Matt Sicker
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60] > > at > > java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1142)[:1.8.0_60] > > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:617)[:1.8.0_60] > > at java.lang.Thread.run(Thread.java:745)[:1.8.0_60] > > Caused by: java.lang.ClassNotFoundException: > > org.apache.camel.component.jms.JmsBinding not found by > > org.apache.activemq.activemq-osgi [53] > > at > > org.apache.felix.framework.BundleWiringImpl. > findClassOrResourceByDelegation(BundleWiringImpl.java:1574) > > at > > org.apache.felix.framework.BundleWiringImpl.access$400( > BundleWiringImpl.java:79) > > at > > org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass( > BundleWiringImpl.java:2018) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_60] > > ... 70 more > > > > > > > > > > -- > > View this message in context: http://camel.465427.n5.nabble. > com/Karaf-4-0-7-Felix-JmsBinding-not-found-tp5789099.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > -- Matt Sicker

Re: Share database connection pool among routes

2015-10-21 Thread Matt Sicker
5.nabble.com/Share-database-connection-pool-among-routes-tp5772925p5772927.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Camel cache across bundles in karaf

2015-10-30 Thread Matt Sicker
n one bundle and multiple bundles refer this? > > > Vanshul > -- Matt Sicker

Cannot install camel-swagger through Karaf

2015-11-13 Thread Matt Sicker
anamer/2.6.1 These seem to be missing dependencies from the camel feature file. -- Matt Sicker

Re: Cannot install camel-swagger through Karaf

2015-11-13 Thread Matt Sicker
Thanks, that installs properly. On 13 November 2015 at 11:29, Claus Ibsen wrote: > Yeah use camel-swagger-java from Camel 2.16 onwards. The old scala > based is deprecated and dont work really in OSGi. > > On Fri, Nov 13, 2015 at 6:17 PM, Matt Sicker wrote: > > I'm n

Re: Why using camel routes (via activemq) in Apache karaf?

2015-11-17 Thread Matt Sicker
w this message in context: > http://camel.465427.n5.nabble.com/Why-using-camel-routes-via-activemq-in-Apache-karaf-tp5774011.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Why using camel routes (via activemq) in Apache karaf?

2015-11-18 Thread Matt Sicker
container but > accessing the OSGi from outside is the part that confuses me. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Why-using-camel-routes-via-activemq-in-Apache-karaf-tp5774011p5774017.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Why using camel routes (via activemq) in Apache karaf?

2015-11-19 Thread Matt Sicker
. I probably should post > another topic about this. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Why-using-camel-routes-via-activemq-in-Apache-karaf-tp5774011p5774099.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Am I using headers right?

2015-11-24 Thread Matt Sicker
of these components provide no alternatives. Am I using headers properly, or is this a terrible abuse of headers? -- Matt Sicker

Re: Am I using headers right?

2015-11-24 Thread Matt Sicker
; > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Am-I-using-headers-right-tp5774363p5774365.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Am I using headers right?

2015-11-25 Thread Matt Sicker
> is no guarantee they persist or be unchanged when the message returns. > Also reduces unwanted metadata leaking out of your routes, for example > to JMS, HTTP/SOAP as you mentioned. > > > > On Wed, Nov 25, 2015 at 12:52 AM, Matt Sicker wrote: > > I filter out what headers

Re: Am I using headers right?

2015-12-01 Thread Matt Sicker
e also see this SO: > > http://stackoverflow.com/questions/10330998/passing-values-between-processors-in-apache-camel > > > On Wed, Nov 25, 2015 at 4:00 PM, Matt Sicker wrote: > > Properties get lost even more often than headers, though. They're only > > copied when the entire Excha

Can't use camel-geocoder in Karaf

2015-12-08 Thread Matt Sicker
pl.java:75)[org.apache.felix.framework-4.2.1.jar:] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)[org.apache.felix.framework-4.2.1.jar:] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_66] ... 26 more -- Matt Sicker

Is there any situation where you can't replace recipientList(simple()) with toD()?

2015-12-11 Thread Matt Sicker
Are there any edge cases here? Or is it safe to refactor routes that use recipientList(simple()) with only a single endpoint? -- Matt Sicker

Re: java dsl vs blueprint xml

2015-12-16 Thread Matt Sicker
it > easier. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/java-dsl-vs-blueprint-xml-tp5775085p5775124.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Using Message Headers & Body into Camel SQL Insert statement

2015-12-16 Thread Matt Sicker
gt; > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Using-Message-Headers-Body-into-Camel-SQL-Insert-statement-tp5775107.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: calling a spring bean inside an OSGI based project

2016-01-06 Thread Matt Sicker
ow: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I would like to Inject the Spring JdbcTemplate that I've defined in > my > > > > Spring configuration file to my BookingService business class. > > > > > > > > My question is : > > > > > > > > How can I a load and inject a Spring bean inside a OSGI based Bean? > > > > > > > > Thank you in advance, > > > > > > > > Meissa > > > > > > > > > -- > > Henryk Konsek > > http://about.me/hekonsek > > > -- Matt Sicker

Re: Camel-Swagger-Java - Unable to generate the API Swagger definition

2016-01-22 Thread Matt Sicker
Type="string" /> > > > ref="requestTransformer" /> > ref="myProcessor"> > > > > > > > My REST URL: > > http://localhost:18080/server/rest/test/generate/data/name/{name}/flag/{flag} > > Please help with any pointers. > > Regards > Sumit > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Swagger-Java-Unable-to-generate-the-API-Swagger-definition-tp5776570.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Can spring and camel co-exists.

2016-01-27 Thread Matt Sicker
ew > code in Apache camel. > Any help is appreciated. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Can-spring-and-camel-co-exists-tp5776823.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Class substitution in bean?

2016-01-30 Thread Matt Sicker
essing. > > Any help is appreciated. > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Class-substitution-in-bean-tp5777061.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Shared Camel Context.

2016-01-31 Thread Matt Sicker
> possible > and using direct-vm would be a solution. With limited information > available, > could someone here guide me ? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Shared-Camel-Context-tp5777066.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Camle-Swagger-Java- documenting optional param for REST Service

2016-02-03 Thread Matt Sicker
t; -- > View this message in context: > http://camel.465427.n5.nabble.com/Camle-Swagger-Java-documenting-optional-param-for-REST-Service-tp5777172.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Invalid "Content-Type" Header is configured

2016-02-05 Thread Matt Sicker
gt; > > > 300 > Camel > > {code} > > I can get a response as XML, but Content-Type of response (1) is > "application/json". > It should be "application/xml"? > > Thanks, > -- > Seiji Sogabe > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Invalid-Content-Type-Header-is-configured-tp5777250.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Issue with rest-dsl and improper marshalling

2016-02-09 Thread Matt Sicker
ssue or something that was already fixed in master before I try to make a minimal reproduction of the bug. Or maybe I'm doing something wrong? -- Matt Sicker

Re: Issue with rest-dsl and improper marshalling

2016-02-10 Thread Matt Sicker
I found the skipBindingOnErrorCode(false) option in restConfiguration. This solved the first problem at least. On 9 February 2016 at 13:45, Matt Sicker wrote: > I'm using the rest-dsl in Camel 2.16.2. On each rest route, I use > consumes("application/json") and produces(&

Re: Which standard components / languages / options are known to be fast / slow?

2016-02-11 Thread Matt Sicker
72517 > end: 1455231274849 > => 0.23ms per route execution > > 5. Multicast, parallel processing, otherwise same as 4. > > from("direct:test > ").multicast().parallelProcessing().setBody().simple("${body[key]}").to(" > log:test?level=OFF"); > > start: 1455231408937 > end: 1455231427266 > => 1.83ms per route execution > > Conclusion: parallel processing on multicast can really degrade performance > - contrary to my expectations. On a second thought, I imagine the context > switch required takes the blame here. > > Any more such simple tips will be very welcome! > > Thanks, > Jan > -- Matt Sicker

Re: Query relating to the Rest Component

2016-02-14 Thread Matt Sicker
> Joe > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Query-relating-to-the-Rest-Component-tp526.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Is there a way to selectively disable data binding in a rest-dsl route?

2016-02-18 Thread Matt Sicker
of the response, but this won't handle the unmarshal of the request (which has the class name specified in the swagger model). -- Matt Sicker

Re: Is there a way to selectively disable data binding in a rest-dsl route?

2016-02-19 Thread Matt Sicker
So I could just specify in.setHeader(Exchange.CONTENT_TYPE, "application/vnd.apple.pkpass") and it won't get marshalled? On 19 February 2016 at 00:45, Claus Ibsen wrote: > Set a different content-type as binary is not json then. > > On Thu, Feb 18, 2016 at 9:45 PM, Matt

Re: Is there a way to selectively disable data binding in a rest-dsl route?

2016-02-19 Thread Matt Sicker
I tried doing that and it still marshals the output (which is a ByteArrayInputStream object) into a base64-encoded version of the stream surrounded by double quotes. On 19 February 2016 at 10:21, Matt Sicker wrote: > So I could just specify in.setHeader(Exchange.CONTENT_TYPE, > "

Re: Is there a way to selectively disable data binding in a rest-dsl route?

2016-02-19 Thread Matt Sicker
Thanks Claus! On 19 February 2016 at 12:11, Claus Ibsen wrote: > Hi > > Ah yeah we should support that. I logged a ticket > https://issues.apache.org/jira/browse/CAMEL-9625 > > On Fri, Feb 19, 2016 at 6:01 PM, Matt Sicker wrote: > > I tried doing that and it still marsh

Re: eaked UDP ports from the logging using MDCSiftingAppender

2016-02-22 Thread Matt Sicker
{bundle.name} - %X{bundle.version} | > %X{camel.breadcrumbId} | %m%n > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/eaked-UDP-ports-from-the-logging-using-MDCSiftingAppender-tp5777814.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Matt Sicker

Re: Right component for ActiveMQ Artemis

2016-02-25 Thread Matt Sicker
-- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > -- Matt Sicker

Re: Right component for ActiveMQ Artemis

2016-02-25 Thread Matt Sicker
lcome to log a new one. > http://camel.apache.org/contributing > > On Thu, Feb 25, 2016 at 4:17 PM, Rob Davies wrote: > > Or if you want to use AMQP as the wire protocol - I’ve had success with > camel-amqp and artemis. > > > >> On 25 Feb 2016, at 15:13, Matt Sicker

Re: Can't shut down due to inflight and pending exchanges

2016-02-26 Thread Matt Sicker
Can I change the shut down strategy to cancel what might be > occurring? > > -Dave > -- Matt Sicker

Re: Can't shut down due to inflight and pending exchanges

2016-02-26 Thread Matt Sicker
the bean DefaultShutdownStrategy tip, I'll experiment with that too. > > -Dave > > > > On Fri, Feb 26, 2016 at 1:02 PM, Matt Sicker wrote: > > > Are you using camel-disruptor? I had a lot of problems like that. > > > > You could

Re: About Stream Caching

2016-03-06 Thread Matt Sicker
able delivery of message. > > In case this is not the right approach, could someone share approach to > achieve both? Any pointers would be great. > > Regards, > Arpit. > -- Matt Sicker

Re: About Stream Caching

2016-03-07 Thread Matt Sicker
ditional details of how > to handle such use cases? > > Are they dependent on the container in which Camel is running and for > Reliable Delivery of message we have to build DB/In-memory repositories? > > Regards, > Arpit. > > -Original Message- > From: Mat

Re: Limit swagger API

2016-03-09 Thread Matt Sicker
gt; > > > Best regards > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/Limit-swagger-API-tp5778791.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > -- Matt Sicker

Re: Instagram Component ?

2016-03-25 Thread Matt Sicker
No, there isn't an official component, and I don't see any third party ones, either. On 25 March 2016 at 13:40, Mark wrote: > I'm wondering if there is an Instagram component in Camel. If not I'd like > to start work on one and can submit a pull request back to t

Re: Help tell Pivotal to accept Apache Camel as a choice on start.spring.io

2016-04-01 Thread Matt Sicker
us Ibsen > > - > > http://davsclaus.com @davsclaus > > Camel in Action 2: https://www.manning.com/ibsen2 > > > > -- > Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > -- Matt Sicker

<    1   2