You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Nathan Mittler (JIRA)" <ji...@apache.org> on 2007/02/01 01:56:02 UTC

[jira] Commented: (AMQCPP-60) message information is lost from stomp message to jms

    [ https://issues.apache.org/activemq/browse/AMQCPP-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38443 ] 

Nathan Mittler commented on AMQCPP-60:
--------------------------------------

I think I found it ... as you had indicated, we were sending the request-id with all messages (supposed to only send on connect message).  This is fixed in trunk.  Give it a shot.

> message information is lost from stomp message to jms
> -----------------------------------------------------
>
>                 Key: AMQCPP-60
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-60
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Stomp
>    Affects Versions: 1.1
>         Environment: Using Windows XP SP2, JDK 1.6.0, Bea Weblogic Server 8.1 SP6, ActiveMQ-CPP 1.0, ActiveMQ 4.1 patched with Fix for AMQ-1110
>            Reporter: Kay Stanke
>         Assigned To: Nathan Mittler
>            Priority: Critical
>             Fix For: 2.0
>
>
> As my producer is a cpp server program i downloaded and compiled activemq-cpp 1.0. I managed to make activemq-cpp compile and link as shared lib / dll under vc 7.1 (Visual Studio .NET 2003). My consumer is located on a bea wls 8.1 I use the jms to jms bridge to forward the messages. For other reasons (see AMQ-1141) the forward fails. I can see in the dumped message:
> message: ActiveMQTextMessage {commandId = 3, responseRequired = false, 
> messageId = ID:KStanke-2844-1170064566619-5:0:-1:1:1, 
> originalDestination = null, 
> originalTransactionId = null, 
> producerId = ID:KStanke-2844-1170064566619-5:0:-1:1, 
> destination = queue://TEST.FOO, 
> transactionId = null, expiration = 0, 
> timestamp = 1170064774288, 
> arrival = 0, 
> correlationId = null, 
> replyTo = null, 
> persistent = false, 
> type = null, 
> priority = 4, 
> groupID = null, 
> groupSequence = 0, targetConsumerId = null, compressed = false, 
> userID = null, content = org.apache.activemq.util.ByteSequence@12f9924, 
> marshalledProperties = org.apache.activemq.util.ByteSequence@1ef3212, dataStructure = null, 
> redeliveryCounter = 0, size = 0, properties = {request-id=2}, readOnlyProperties = true, 
> readOnlyBody = true, droppable = false, text = null}
> i'm missing the persistence as i used pProducer->setDeliveryMode( DeliveryMode::PERSISTANT ); As my message is a text message i'm missing the message text as well. I created the message with: pMessage = pSession->createTextMessage(messageText); with an nonempty string. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.