Use of Spring Beans within DSL instead of Blueprint / general configuration of ActiveMQ

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Use of Spring Beans within DSL instead of Blueprint / general configuration of ActiveMQ

Gerald Kallas - mailbox.org
Dear community,

we were using this XML dialect before

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:prop="http://camel.apache.org/schema/placeholder"
xsi:schemaLocation="http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
<import resource="file:${karaf.home}/deploy/eib.config.xml" />

One of the advantages is the import statement for a common ActiveMQ configuration (connection pooling etc).

1. Is this dialect still possible with Camel 3.0.0?
2. I there an other way to configure the ActiveMQ access once in a central place and refer to this configuration?
Tx in advance for any hints.

Best
- Gerald