Class GeocoderProducers
- java.lang.Object
-
- org.apache.camel.quarkus.component.geocoder.it.GeocoderProducers
-
@ApplicationScoped public class GeocoderProducers extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringgoogleApiKey
-
Constructor Summary
Constructors Constructor Description GeocoderProducers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) org.apache.camel.component.geocoder.GeoCoderComponentgeocoderComponent(org.apache.camel.CamelContext camelContext, MockApiService mockApiService)We need to implement some conditional configuration of theGeoCoderComponentthus we create it programmatically and publish via CDI.
-
-
-
Field Detail
-
googleApiKey
String googleApiKey
-
-
Method Detail
-
geocoderComponent
@Produces @ApplicationScoped @Named("geocoder") org.apache.camel.component.geocoder.GeoCoderComponent geocoderComponent(org.apache.camel.CamelContext camelContext, MockApiService mockApiService) throws IllegalAccessException, NoSuchFieldException, InstantiationExceptionWe need to implement some conditional configuration of theGeoCoderComponentthus we create it programmatically and publish via CDI.- Returns:
- a configured
GeoCoderComponent - Throws:
IllegalAccessExceptionNoSuchFieldExceptionInstantiationException
-
-