All Downloads are FREE. Search and download functionalities are using the official Maven repository.

OSGI-INF.blueprint.blueprint.xml Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
       xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
       http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
       http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0 http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0/blueprint-cm.xsd">

  <cm:property-placeholder persistent-id="se.kth.infosys.smx.ug.all"/>

  <camelContext xmlns="http://camel.apache.org/schema/blueprint">
    <propertyPlaceholder id="ug" location="file:/var/run/smx/ug.version"/>

    <route id="ug_consumer_example">
      <from uri="ug://{{system}}:{{password}}@{{host}}?ugversion={{ug.version}}&amp;user=kthid,username&amp;group=kthid,ug1name,member"/>
      <to uri="log:se.kth.ug.propagator.public?level=DEBUG&amp;showAll=true"/>
      <marshal>
        <jacksonxml />
      </marshal>
      <to uri="activemq:se.kth.ug.propagator.all"/>
      <filter>
        <simple>${in.header.UGOperation} == 'DONE'</simple>
        <setBody>
          <simple>ug.version=${in.header.UGVersion}</simple>
        </setBody>
        <to uri="file:/var/run/smx?fileName=ug.version"/>
      </filter>
    </route>
  </camelContext>
</blueprint>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy