1 2 Previous Next 21 Replies Latest reply on Nov 11, 2015 12:20 AM by zhfeng Go to original post
      • 15. Re: Blacktie Data Buffers and Content Based Routing
        tomjenkinson

        I really doubt the CBR example works atm as it is still using JBoss ESB - but zhfeng will know better. Amos, if the CBR QS is none-functional it should be removed from the repo and a jira to replace it with a camel/other based one added please.

        • 16. Re: Blacktie Data Buffers and Content Based Routing
          zhfeng

          yeah, I think the cbr quickstart is out of date with using the jboss-esb and we have [JBTM-2496] Investigate using of camel for content based routing in the Blacktie - JBoss Issue Tracker

          • 17. Re: Blacktie Data Buffers and Content Based Routing
            joicejoy

            As per Amos CBR using Wildfly Camel now works for the following:

             

            wildfly-8.2.0.Final + wildfly-camel-patch-2.3.0 + blacktie-5.1.0.Final

            wildfly-9.0.1.Final + wildfly-camel-patch-3.1.0 + blacktie-5.1.0.Final

             

            You have shared the quickstart :

            zhfeng/blacktie-cbr · GitHub

            But it only supports Camel 2.3.0

            I will try to change the pom.xml to set camel 3.1 and install camel 3.1 patch on wildfly 9.

             

            While downgrading to wildfly 9.

             

            I encountered an error while starting Wildfly servers:

            03:26:04,047 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration

                    at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131) [wildfly-controller-1.0.1.Final.jar:1.0.1.Final]

                    at org.jboss.as.server.ServerService.boot(ServerService.java:350) [wildfly-server-1.0.1.Final.jar:1.0.1.Final]

                    at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:271) [wildfly-controller-1.0.1.Final.jar:1.0.1.Final]

                    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]

            Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[282,17]

            Message: WFLYCTL0198: Unexpected element '{urn:jboss:domain:iiop-openjdk:1.0}initializers' encountered

             

             

            It seems this was the error in standalone-blacktie.xml:

                    <subsystem xmlns="urn:jboss:domain:iiop-openjdk:1.0">

                        <orb socket-binding="iiop" ssl-socket-binding="iiop-ssl">

                            <initializers transactions="full" security="identity"/>

                        </orb>

                    </subsystem>

             

            Once I removed the orb tags and left the initializers tag only, the servers started. Any issues with this.

            By the way, in the Blacktie 5.2.2 and Widfly 10 beta, the orb tags were not present and the above subsystem only had the initializers.

            • 18. Re: Blacktie Data Buffers and Content Based Routing
              zhfeng

              Thanks Joy for trying wildfly-9.0.1

               

              I had updated the zhfeng/blacktie-cbr · GitHub to support the wildfly-9.0.1 and camel 3.1.0 patch

              It needs to merge the camel subsystem and blacktie subsystem configuration. So I think the standalone-blacktie.xml in the blacktie-5.1.0 was out of date.

              you have to use blacktie-cbr/standalone-blacktie.xml at master · zhfeng/blacktie-cbr · GitHub

               

              Amos

              1 of 1 people found this helpful
              • 19. Re: Blacktie Data Buffers and Content Based Routing
                joicejoy

                Thanks for the help. Will try to test as soon as possible.

                 

                Also regarding the standalone-blacktie.xml, I just tried to start the Wildfly servers. Did not try the Camel quickstart. And the change that I mentioned is already a part of Blacktie 5.2.2, so I think it must have been part of some fix.


                 

                • 20. Re: Blacktie Data Buffers and Content Based Routing
                  zhfeng

                  yeah, I agree with you and will take a look at it.

                  • 21. Re: Blacktie Data Buffers and Content Based Routing
                    zhfeng

                    Hi  Joy,

                     

                    Do you have any problem to try this blacktie-cbr example ?

                    1 2 Previous Next