I have many (over 100) projects that all include a core Spring project where
ActiveMQ is configured. Currently each project defines its own camel context
as such:
<camel:camelContext
id="CamelContext-${project.artifactId}_${project.version}">
<camel:contextScan/>
</camel:camelContext>
I would like to change some parameters in the way the camel context is defined.
I could simply put the context in the common project, however the ID would not
match the ID of the sub-project. Therefore I would like to do something like
the following:
In the common project:
<camel:camelContext id="AbstractCamelContext"
allowUseOriginalMessage="false" shutdownRunningTask="CompleteAllTasks"
abstract="true">
<camel:contextScan/>
</camel:camelContext>
In each individual project
<camel:camelContext
id="CamelContext-${project.artifactId}_${project.version}"
parent="AbstractCamelContext "/>
Since "camel:camelContext" is just short-hand for Spring Configuration. Could
someone help me understand what the traditional Spring equivalent would be for:
<camel:camelContext id="AbstractCamelContext"
allowUseOriginalMessage="false" shutdownRunningTask="CompleteAllTasks">
<camel:contextScan/>
</camel:camelContext>
Thank you,
Justin
CONFIDENTIALITY NOTICE:
The information in this message, and any attachment, is intended for the
sole use of the individual and entity to whom it is addressed. This
information may be privileged, confidential, and protected from
disclosure. If you are not the intended recipient you are hereby notified
that you have received this communication in error and that any review,
disclosure, dissemination, distribution or copying of it, or its contents,
is strictly prohibited. If you think that you have received this message
in error please notify the sender and destroy all copies of this
communication and any attachments. Thank you.