Posts

Showing posts with the label osgi

Use external dependency in Jira 7.x plugin

Use external dependency in Jira 7.x plugin With the SDK 6.3.10, I am trying to develop a plugin for Jira 7.x. This plugin should use an external Java dependency named "maven-handling". I did the following: First I added the dependency in the POM: <dependency> <groupId>some-company</groupId> <artifactId>maven-handling</artifactId> <version>1.0.0-SNAPSHOT</version> </dependency> Then I changed the import-package entry in the maven-jira-plugin to: <Import-Package>org.springframework.osgi.*;resolution:="optional", org.eclipse.gemini.blueprint.*;resolution:="optional", some-company.maven_handling*;version="0.0";resolution:="optional", * </Import-Package> Still I get a classNotFound on the class I use from the some-company.maven_handling package. What did I miss? Is the package some-company.maven_handling* correct? furthermore shouldn...

How to use asynchronous routes in Apache Camel Blueprint

Image
How to use asynchronous routes in Apache Camel Blueprint I have a route that has to be asynchronously consumed and I'm using an direct component to refers to it as an alias. <route id="producer_CUSTOMER_INTERACTIONS_ISSUES_RELATIONSHIPS_Topic"> <from uri="direct:test"/> <pollEnrich aggregateOnException="false" id="pollEnrich1" timeout="-1"> <constant>file:mock/customer-interactions-issues-relationships?noop=true&amp;idempotent=false</constant> </pollEnrich> <to uri="kafka:customer-interactions-issues-relationships?brokers=localhost:9092"/> </route> That route has to be consumed by: <route id="1"><from uri="timer://foo?fixedRate=true&amp;period=1&amp;repeatCount=1000"/><to uri="direct:test"/></route> <route id="2"><from uri="timer://foo?...