Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5611

Support for property placeholders on load balancers EIP in camel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Camel
    • None
    • % %
    • Hide
      • Need a backport of fix in 2.17.2 and 2.18 camel version to camel version in Fuse 6.2.1.
      • Attached a test-case, unzip and build it.
      • Execute junit test-case FailoverRoundRobinLoadBalancerTest.
      • Error received is:
        Caused by: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '{{roamware.senderservice.maximumFailoverAttempts}}' is not a valid value for 'integer'.
        
      • Even using propertyplaceholder of integer parameter like below
        <blueprint....
        xmlns:prop="http://camel.apache.org/schema/placeholder"
        --->
        ---
        <failover roundRobin="true" prop:maximumFailoverAttempts="{{failoverValue}}" />
        

        We get following error

        Caused by: org.xml.sax.SAXParseException; cvc-complex-type.3.2.2: Attribute 'prop:maximumFailoverAttempts' is not allowed to appear in element 'failover'.
        
      Show
      Need a backport of fix in 2.17.2 and 2.18 camel version to camel version in Fuse 6.2.1. Attached a test-case, unzip and build it. Execute junit test-case FailoverRoundRobinLoadBalancerTest. Error received is: Caused by: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '{{roamware.senderservice.maximumFailoverAttempts}}' is not a valid value for 'integer' . Even using propertyplaceholder of integer parameter like below <blueprint.... xmlns:prop= "http: //camel.apache.org/schema/placeholder" ---> --- <failover roundRobin= " true " prop:maximumFailoverAttempts= "{{failoverValue}}" /> We get following error Caused by: org.xml.sax.SAXParseException; cvc-complex-type.3.2.2: Attribute 'prop:maximumFailoverAttempts' is not allowed to appear in element 'failover' .
    • Sprint 5 - towards ER2

            acosenti Andrea Cosentino
            rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
            Martin Basovnik Martin Basovnik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: