Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: examples
    • Labels:
      None

      Description

      Now that we recommend people to not start using JBI anymore, we should ensure that we have documentation and examples that show how to replace commonly used JBI components, e.g. servicemix-wsn2005.

      We should add an example that shows how to use CXF's WSN support in the ServiceMix CXF example set.

        Activity

        Hide
        ffang Freeman Fang added a comment -

        Hi Wim,

        Patch applied, thanks,

        Freeman

        Show
        ffang Freeman Fang added a comment - Hi Wim, Patch applied, thanks, Freeman
        Hide
        wverreydt Wim Verreydt added a comment - - edited

        When I tested the example, i had a "Caused by: javax.jms.JMSException: User name [user] or password is invalid." exception. I think this is due to the JAAS authentication wich seemed to be enabled by default in AMQ (http://search.maven.org/remotecontent?filepath=org/apache/activemq/activemq-karaf/5.8.0/activemq-karaf-5.8.0-activemq.xml). The problem is fixed when I add the config file with the username and password so i made a pull request to add these instructions back to the readme file.

        The pull request can be found here: https://github.com/apache/servicemix5/pull/6

        Show
        wverreydt Wim Verreydt added a comment - - edited When I tested the example, i had a "Caused by: javax.jms.JMSException: User name [user] or password is invalid." exception. I think this is due to the JAAS authentication wich seemed to be enabled by default in AMQ ( http://search.maven.org/remotecontent?filepath=org/apache/activemq/activemq-karaf/5.8.0/activemq-karaf-5.8.0-activemq.xml ). The problem is fixed when I add the config file with the username and password so i made a pull request to add these instructions back to the readme file. The pull request can be found here: https://github.com/apache/servicemix5/pull/6
        Hide
        ffang Freeman Fang added a comment -

        apply patch on behalf of Wim Verreydt with thanks
        http://svn.apache.org/r1480872

        Very nice example btw. Only revise the README.txt a little bit, as in Apache Servicemix kit, the default AMQ broker won't enable JAAS authentication, so we needn't configure cxf-wsn to specify the user/password to connect to the broker.

        Show
        ffang Freeman Fang added a comment - apply patch on behalf of Wim Verreydt with thanks http://svn.apache.org/r1480872 Very nice example btw. Only revise the README.txt a little bit, as in Apache Servicemix kit, the default AMQ broker won't enable JAAS authentication, so we needn't configure cxf-wsn to specify the user/password to connect to the broker.
        Hide
        wverreydt Wim Verreydt added a comment -

        I'll take a stab at this one.

        Show
        wverreydt Wim Verreydt added a comment - I'll take a stab at this one.

          People

          • Assignee:
            ffang Freeman Fang
            Reporter:
            gertvanthienen Gert Vanthienen
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development