[jira] [Commented] (CAMEL-2983) RestEasy component
[ https://issues.apache.org/jira/browse/CAMEL-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14642544#comment-14642544 ] Roman jakubco commented on CAMEL-2983: -- I will check the possibility but I am not really sure if it will be possible , but I will give a shot. I was also looking at other Camel components and I think I could take similar approach to tests as camel-servlet component. When I will have some results I will let you know. RestEasy component -- Key: CAMEL-2983 URL: https://issues.apache.org/jira/browse/CAMEL-2983 Project: Camel Issue Type: New Feature Reporter: Claus Ibsen Fix For: Future Consider JBoss RestEasy 2.x which has been released under ASL 2.0 license now. http://jboss.org/resteasy -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-2983) RestEasy component
[ https://issues.apache.org/jira/browse/CAMEL-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14636613#comment-14636613 ] Roman jakubco commented on CAMEL-2983: -- I am currently working on pull request to master branch of Camel, but I have few issues with tests because of Arquillian that is used in them. I am using ShrinkWrap for creation of war file used for testing and ShrinkWrap uses Maven.resolver for resolving dependencies from pom.xml which are required for bundle that is deployed into the wildfly. I spent whole yesterday looking for cause of the problem and I think it is because of [1] file is imported into the maven when build is executed and this property {{url@localRepositoryUrl@/url}} is the main problem for Maven.resolver in ShrinkWrap. I need to find a way to bypass this or rewrite tests so that they are executable in Camel repo. So I will try to do this as soon as possible. [1] https://github.com/romanjakubco/camel/blob/camel-resteasy/tooling/maven/camel-api-component-maven-plugin/src/it/settings.xml RestEasy component -- Key: CAMEL-2983 URL: https://issues.apache.org/jira/browse/CAMEL-2983 Project: Camel Issue Type: New Feature Reporter: Claus Ibsen Fix For: Future Consider JBoss RestEasy 2.x which has been released under ASL 2.0 license now. http://jboss.org/resteasy -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-2983) RestEasy component
[ https://issues.apache.org/jira/browse/CAMEL-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14626035#comment-14626035 ] Roman jakubco commented on CAMEL-2983: -- Hi [~davsclaus], I created Camel component based on RestEasy project as part of my diploma thesis. The code can be found here: https://github.com/romanjakubco/camel-resteasy I would like to contribute to Camel project if the component is good enough for distribution. But I was looking at requirements for new component and there is a part with OSGi. The problem is that RestEasy is not working great in OSGi environment at the moment and I don't know if it ever will... RestEasy component -- Key: CAMEL-2983 URL: https://issues.apache.org/jira/browse/CAMEL-2983 Project: Camel Issue Type: New Feature Reporter: Claus Ibsen Fix For: Future Consider JBoss RestEasy 2.x which has been released under ASL 2.0 license now. http://jboss.org/resteasy -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-7730) URI option command is not working in camel-infinispan component
Roman jakubco created CAMEL-7730: Summary: URI option command is not working in camel-infinispan component Key: CAMEL-7730 URL: https://issues.apache.org/jira/browse/CAMEL-7730 Project: Camel Issue Type: Bug Affects Versions: 2.13.2 Reporter: Roman jakubco Documentation for the component states that command URI option can be used in producer for setting operations for infinispan. But is seems only the default value is working because commands REMOVE, CLEAR and GET fail with NullPointerException: {code} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route7] [route7] [direct://commandGet ] [ 3] [route7] [setHeader11 ] [setHeader[CamelInfinispanKey] ] [ 0] [route7] [to7 ] [infinispan://localhost?cacheContainer=#container1command=GET ] [ 1] Exchange --- Exchange[ Id ID-roman-ThinkPad-T430s-46536-1408612528972-0-4 ExchangePattern InOnly Headers {breadcrumbId=ID-roman-ThinkPad-T430s-46536-1408612528972-0-3, CamelInfinispanKey=commandKey1, CamelRedelivered=false, CamelRedeliveryCounter=0} BodyTypenull Body[Body is null] ] Stacktrace --- java.lang.NullPointerException: Null values are not supported! at org.infinispan.CacheImpl.assertKeyValueNotNull(CacheImpl.java:187) at org.infinispan.CacheImpl.putInternal(CacheImpl.java:876) at org.infinispan.CacheImpl.put(CacheImpl.java:870) at org.infinispan.CacheImpl.put(CacheImpl.java:1351) at org.infinispan.CacheImpl.put(CacheImpl.java:215) at org.apache.camel.component.infinispan.InfinispanOperation$Operation$1.execute(InfinispanOperation.java:50) at org.apache.camel.component.infinispan.InfinispanOperation.process(InfinispanOperation.java:34) at org.apache.camel.component.infinispan.InfinispanProducer.process(InfinispanProducer.java:42) at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:73) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:378) at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:242) at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:346) at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:184) at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:124) at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:110) at org.jboss.fuse.qa.infinispan.component.test.InfinispanComponentTest.testUriCommandOption(InfinispanComponentTest.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at
[jira] [Updated] (CAMEL-7718) Constants used in camel-infinispan component have restricted access
[ https://issues.apache.org/jira/browse/CAMEL-7718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman jakubco updated CAMEL-7718: - Summary: Constants used in camel-infinispan component have restricted access (was: Constants used in camel-infinispan component have restricted access only to package) Constants used in camel-infinispan component have restricted access --- Key: CAMEL-7718 URL: https://issues.apache.org/jira/browse/CAMEL-7718 Project: Camel Issue Type: Bug Affects Versions: 2.13.2 Reporter: Roman jakubco Constants used for setting headers in camel-infinispan are not accessible in application because class containing them is not public. These constants are used in unit tests and also in example in the documentation of the component, so it seems this is minor mistake and also a bug. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (CAMEL-7718) Constants used in camel-infinispan component have restricted access only to package
Roman jakubco created CAMEL-7718: Summary: Constants used in camel-infinispan component have restricted access only to package Key: CAMEL-7718 URL: https://issues.apache.org/jira/browse/CAMEL-7718 Project: Camel Issue Type: Bug Affects Versions: 2.13.2 Reporter: Roman jakubco Constants used for setting headers in camel-infinispan are not accessible in application because class containing them is not public. These constants are used in unit tests and also in example in the documentation of the component, so it seems this is minor mistake and also a bug. -- This message was sent by Atlassian JIRA (v6.2#6252)