ServiceMix Components
  1. ServiceMix Components
  2. SMXCOMP-268

The pull point name generated by AbstractCreatePullpoint does not work well for some JMS providers

    Details

      Description

      CreatePullPoint - the AbstractCreatePullpoint class uses a org.apache.activemq.util.IdGenerator class to generate ids used for queue names. The generated ids contain "dashes" (for example: ID-djfla-3580-1192736817437-1-0). An error occurs (Invalid name) when attempting to use the generated id for a JMS queue name within OpenESB (Sun Java System Message Queue 4.1).

      Either the IDGenerator should create generic queue names that will work for any JMS provider, or the IdGenerator instance should be configurable. In other words an IdGenerator class can be configured when the WSN service engine is deployed.

      see the discussion: http://www.nabble.com/Servicemix-WSN-SE-deployed-to-OpenESB-tf4649656s12049.html

        Activity

        Hide
        Guillaume Nodet added a comment -

        Sending AbstractCreatePullPoint.java
        Sending jms/JmsCreatePullPoint.java
        Transmitting file data ..
        Committed revision 691065.

        Also allow the creator to specify the pull point name:

        <wsnt:CreatePullPoint wsn:PullPointName="myname" xmlns:wsn="http://servicemix.apache.org/wsn" />

        Show
        Guillaume Nodet added a comment - Sending AbstractCreatePullPoint.java Sending jms/JmsCreatePullPoint.java Transmitting file data .. Committed revision 691065. Also allow the creator to specify the pull point name: <wsnt:CreatePullPoint wsn:PullPointName="myname" xmlns:wsn="http://servicemix.apache.org/wsn" />
        Hide
        Guillaume Nodet added a comment -

        The correct syntax is:

        <wsnt:CreatePullPoint
        xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
        xmlns:sm="http://servicemix.apache.org/wsn2005/1.0">
        <sm:name>queueName</sm:name>
        </wsnt:CreatePullPoint>

        Show
        Guillaume Nodet added a comment - The correct syntax is: <wsnt:CreatePullPoint xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:sm="http://servicemix.apache.org/wsn2005/1.0"> <sm:name>queueName</sm:name> </wsnt:CreatePullPoint>

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            wm
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development