servicemix-jms currently does not handle jms properties.
Please raise a JIRA.
On 9/7/06, johper <[EMAIL PROTECTED]> wrote:
Where did my properties 'firstName' and 'lastName' go ? Using
TextMessage.setStringProperty() and sends off to jboss-queue. Servicemix
have jms consumer/provider sending/routing message to second jboss-queue.
When message is routed thru Servicemix my properties gets lost, any ide?
when my message comes back from Servicemix to Jboss it looks like this
(Body is maybe corrupt due to console copy/paste) :
SpyTextMessage {
Header {
jmsDestination : QUEUE.jboss.pushpull
jmsDeliveryMode : 2
jmsExpiration : 0
jmsPriority : 4
jmsMessageID : ID:3-1157628659567733
jmsTimeStamp : 1157628659567
jmsCorrelationID: null
jmsReplyTo : null
jmsType : null
jmsRedelivered : false
jmsProperties : {JMSXDeliveryCount=1, MimeContentType=text/xml}
jmsPropReadWrite: false
msgReadOnly : true
producerClientId: ID:3
}
Body {
text :<?xml version='1.0' encoding='UTF-8'?><env:Envel
nv="http://www.w3.org/2003/05/soap-envelope"><env:Body><ns2:clientPro
xmlns:ns2="http://www.smarttrust.com/mdm/clientprovisioning/web" xml
p://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/20
a-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="
mas.xmlsoap.org/soap/envelope/"><msisdn>0708324095</msisdn></ns2:clie
ingIn></env:Body></env:Envelope>
}
}
Property name: JMSXDeliveryCount
Property name: MimeContentType
Property {
firstName :null
lastName :null
}
When communicating with no Servicemix involved my message looks like this
(Body is maybe corrupt due to console copy/paste) :
SpyTextMessage {
Header {
jmsDestination : QUEUE.jboss.pushpull
jmsDeliveryMode : 2
jmsExpiration : 0
jmsPriority : 4
jmsMessageID : ID:752-115763008254421
jmsTimeStamp : 1157630082544
jmsCorrelationID: null
jmsReplyTo : null
jmsType : null
jmsRedelivered : false
jmsProperties : {JMSXDeliveryCount=1, firstName=johan,
lastName=persson}
jmsPropReadWrite: false
msgReadOnly : true
producerClientId: ID:752
}
Body {
text :<?xml version="1.0" encoding="UTF-8"?><soap:Enve
soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://ww
01/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><
ns2:clientProvisioningIn xmlns:ns2="http://www.smarttrust.com/mdm/cli
ning/web"><msisdn>0708324095</msisdn></ns2:clientProvisioningIn></soa
ap:Envelope>"
}
}
Property name: JMSXDeliveryCount
Property name: firstName
Property name: lastName
Property {
firstName :johan
lastName :persson
}
--
View this message in context:
http://www.nabble.com/TextMessage.setStringProperty%28%29-tf2232797.html#a6189157
Sent from the ServiceMix - User forum at Nabble.com.
--
Cheers,
Guillaume Nodet