Class GeocoderProducers
java.lang.Object
org.apache.camel.quarkus.component.geocoder.it.GeocoderProducers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(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 Details
-
googleApiKey
String googleApiKey
-
-
Constructor Details
-
GeocoderProducers
public GeocoderProducers()
-
-
Method Details
-
geocoderComponent
@Produces @ApplicationScoped @Named("geocoder") org.apache.camel.component.geocoder.GeoCoderComponent geocoderComponent(org.apache.camel.CamelContext camelContext, MockApiService mockApiService) throws IllegalAccessException, NoSuchFieldException, InstantiationException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException We need to implement some conditional configuration of theGeoCoderComponentthus we create it programmatically and publish via CDI.- Returns:
- a configured
GeoCoderComponent - Throws:
SecurityExceptionNoSuchMethodExceptionInvocationTargetExceptionIllegalArgumentExceptionIllegalAccessExceptionNoSuchFieldExceptionInstantiationException
-