« Return to Thread: JBOSS messaging and stompConnect

JBOSS messaging and stompConnect

by NewWay :: Rate this Message:

Reply to Author | View in Thread

Hello all,

I'm trying to create a C++ client for JBOSS messaging using stompConnect.

I'm using:

  • JBOSS 4.2.3.GA
  • JBOSS-messaging-1.4.2.GA-SP1
  • stompConnect-1.0
  • activemq-cpp-library-3.0

  • in the activemq I'm trying to run the example program, where the only thing I did was to set the brokerURI to
    "tcp://127.0.0.1:61613"
    "?wireFormat=stomp"

    I used the script from the stomp site to set up stomp with JBOSS

    And here is my problem
    I keep getting from the JBOSS side an exception saying that User is NOT authenticated

    I noticed that in the message, between user and is there are two spaces and not one, which means that the user parameter arrives empty

    Did I miss something out in the connection chain?
    isn't the user name taken from the property -Djava.naming.security.principal

    You're help would be greatly appreciated.

     « Return to Thread: JBOSS messaging and stompConnect