Questions tagged [blueprint-osgi]

Blueprint OSGi is a specification introducing dependency injection to OSGi and providing a simple mechanism for OSGi bundles to use and provide services.

Blueprint provides a dependency injection framework for OSGi and was standardized by the OSGi Alliance in OSGi Compendium R4.2.

It is designed to deal with the dynamic nature of OSGi, where services can become available and unavailable at any time. The specification is also designed to work with plain old Java objects (POJOs) enabling simple components to be written and unit tested in a JSE environment without needing to be aware of how they are assembled.

The Blueprint XML files that define and describe the assembly of various components are key to the Blueprint programming model. The specification describes how the components get instantiated and wired together to form a running module.

Source: http://aries.apache.org/modules/blueprint.html

415 questions
-1
votes
1 answer

Red Hat Fuse 7.2 unit test yields a confusing RuntimeException- i.e., "Gave up waiting for BlueprintContainer from bundle"

Problem: The unit test, provided below, fails with message: java.lang.RuntimeException: Gave up waiting for BlueprintContainer from bundle "RouteXmlTest" The exception is vague and there is no cogent documentation or examples that illustrate…
sairn
  • 461
  • 3
  • 24
  • 58
-1
votes
2 answers

Apache Camel : using throttle : how to change the value of timePeriodMillis using a config file?

i use the throttle in apache camel blueprint : throttle timePeriodMillis="1000" with constant = 4 i want to put the value of timePeriodMillis dynamically using placeholder.Is this possible?
Maha makni
  • 21
  • 1
  • 7
-1
votes
1 answer

Camel Blueprint Testing

I am fairly new to camel and blueprint test, I have a few routes enriching the request although while testing the same with Blueprint test, the endpoint is not being resolved. I am using: Camel : 2.12.0.redhat-611412. Fuse : 6.1.1. Blueprint test…
-1
votes
1 answer

How to run swagger APi on Multiple projects using apache karaf

I have created Java RESTFUL web services using Apache karaf, I am using swagger for API documentation.All Annotation are applied and its running successfully on single project with the general swagger configuration(Swagger core and annotation jar…
-1
votes
1 answer

@Cacheable annotation not working with osgi blueprint

What is a proper way to turn on ehcache inside the OSGi container with Blueprint. To turn on ehcache for the non-osgi, non-blueprint projects we simply use spring annotation: org.springframework.cache.annotation.Cacheable Inside…
lukastymo
  • 26,145
  • 14
  • 53
  • 66
-1
votes
1 answer

Difference between cxfrs:server and jaxrs:server

I would like to know the difference between cxfrs and jaxrs. Also the difference between using cxfrs:server and jaxrs:server in my blueprint.
-1
votes
1 answer

Blueprint, Spring DM and DS

I am a little bit confused about Blueprint, Spring DM and DS (Declarative Services). Form what I think it is: Spring DM came first. OSGi like the idea and defined the Blueprint standard based on Spring DM. Spring DM became the reference…
Frizz
  • 2,524
  • 6
  • 31
  • 45
-2
votes
2 answers

Setting dynamic delay for Camel file consumer

I want to set the delay for my camel file consumer. I am using blueprint DSL. Not sure how do I set it dynamically. I want the value "1000" to be picked up from a property file.
-3
votes
3 answers

What are good reasons for using Camel XML routes?

The Camel Java DSL provides type-safety, code completion and proper support for refactoring. It also helps to modularize and (unit-)test your code in a great manner. Speaking for the Camel XML syntax I only see the advantage of being able to modify…
gtonic
  • 2,295
  • 1
  • 24
  • 32
-3
votes
1 answer

Why deploying Apache Camel in Apache Karaf is not working?

I follow this tutorial carefully to deploy Apache Camel Hello World in Apache Karaf in in Windows 7. But it is not working as expected. The Apache Karaf console not show the stream message from Camel route. This is screenshot from karaf console…
reuseman
  • 21
  • 1
  • 5
1 2 3
27
28