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

2007-01-31 Thread Kay Stanke (JIRA)

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

Kay Stanke commented on AMQCPP-60:
--

I upgraded to the latest trunk version and the persistence flag is now showing 
up in the stacktrace. 
Still no progress in seeing the message text ...

Nathan could you comment on the AMQ-1141 issue as it looks like the improvement 
AMQ-748 broke the interoperability between stomp and jms. Could putting the 
request-id of stomp into the correlation-id of the ActiveMQTextMessage be a fix 
for that?

 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 = [EMAIL PROTECTED], 
 marshalledProperties = [EMAIL PROTECTED], 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.



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

2007-01-31 Thread Kay Stanke (JIRA)

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

Kay Stanke commented on AMQCPP-60:
--

Nathan,

meanwhile i patched the file FrameTranslator.java from the activemq-core.jar to 
see what message arrives if the error is not happening. 

I replace a line in copyStandardHeadersFromFrameToMessage 

from 
 msg.setJMSCorrelationID((String) 
headers.remove(Stomp.Headers.Send.CORRELATION_ID));
to 
msg.setJMSCorrelationID((String) 
headers.remove(Stomp.Headers.Connect.REQUEST_ID));

to see what message is actually sent over the bridge. I definitively only get 
my message forwarded as i dumped the message content which is an xml document. 

Can you exclude that the request-id is sent on every stomp message? At least i 
did not send a connect message explicitely as i use the CMS interface only. 

With my patch all of my information seems to be transmitted correctly, so i 
guess the initial issue is resolved. 

 

 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 = [EMAIL PROTECTED], 
 marshalledProperties = [EMAIL PROTECTED], 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.



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

2007-01-31 Thread Nathan Mittler (JIRA)

[ 
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 = [EMAIL PROTECTED], 
 marshalledProperties = [EMAIL PROTECTED], 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.