title: Using JASYPT outside camel context
body: <p>I am trying to decrypt properties using JASYPT in camel blueprint outside camel context like follows.
  Is it not possible to use JASYPT + Property Component outside camel context?</p>
  
  <p>I am using servciemix 5.0.0</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
         xsi:schemaLocation="
         http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"&gt;
  
    &lt;cm:property-placeholder id="prop" persistent-id="mypersistent"&gt;
    &lt;!-- list some properties for this test --&gt;
    &lt;cm:default-properties&gt;
        &lt;cm:property name="cool.result" value="ENC(jU1ypXF709gpmOsJ2nKGgTbtd3oAs0n3rUNxEmMp2G8=)"/&gt;
        &lt;cm:property name="jms.password" value="ENC(QhKlLI3eMKUhsUSPEWIRFw==)"/&gt;
    &lt;/cm:default-properties&gt;
    &lt;/cm:property-placeholder&gt;
    &lt;bean id="properties" class="org.apache.camel.component.properties.PropertiesComponent"&gt;
      &lt;property name="location" value="blueprint:prop"/&gt;
      &lt;property name="propertiesParser" ref="jasypt"&gt;&lt;/property&gt;
  &lt;/bean&gt;
  &lt;!-- define the jasypt properties parser with the given password to be used --&gt;
  &lt;bean id="jasypt" class="org.apache.camel.component.jasypt.JasyptPropertiesParser"&gt;
      &lt;property name="password" value="secret"/&gt;
  &lt;/bean&gt;
  &lt;bean id="jms" class="org.apache.camel.component.jms.JmsComponent"&gt;
      &lt;property name="connectionFactory"&gt;
          &lt;bean class="org.apache.activemq.ActiveMQConnectionFactory"&gt;
              &lt;property name="brokerURL" value="tcp://127.0.0.1:61616" /&gt;
              &lt;property name="userName" value="smx"/&gt;
              &lt;property name="password" value="${jms.password}"/&gt;
          &lt;/bean&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  &lt;camelContext xmlns="http://camel.apache.org/schema/blueprint"&gt;
    &lt;!-- define the camel properties placeholder, and let it leverage jasypt --&gt;
    &lt;!--&lt;propertyPlaceholder id="properties"
                         location="blueprint:prop"
                         propertiesParserRef="jasypt"/&gt;--&gt;
      &lt;route&gt;
          &lt;from uri="file://inputfolder"/&gt;
          &lt;log message="jms password {{jms.password}}"/&gt;
          &lt;setBody&gt;&lt;constant&gt;Foo message&lt;/constant&gt;&lt;/setBody&gt;
          &lt;to uri="jms:queue:default.inputchannel?jmsMessageType=Text&amp;amp;transferExchange=true"/&gt;
          &lt;to uri="{{cool.result}}"/&gt;
      &lt;/route&gt;
  &lt;/camelContext&gt;
  </code></pre>
  
  <p></p>
  
  <p>It is giving me following error</p>
  
  <p>ava.lang.SecurityException: User name [smx] or password is invalid.
      at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:80)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:97)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:733)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:79)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:149)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:270)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)[84:org.apache.activemq.activemq-osgi:5.9.0]
      at java.lang.Thread.run(Thread.java:745)[:1.7.0_60]</p>