activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Abramov (JIRA)" <>
Subject [jira] Created: (AMQ-866) Problem from open wire dotnet send float properties message to java
Date Mon, 07 Aug 2006 15:53:23 GMT
Problem from open wire dotnet send float properties message to java

                 Key: AMQ-866
             Project: ActiveMQ
          Issue Type: Bug
          Components: NMS (C# client)
            Reporter: Denis Abramov

Am also interested in this issue (from Discussion forum):

I found a problem while i using open wire dotnet api to send float property message to java
platform, the value i recieved that is deffrent with the value setting in dotnet platform.

here is send value(dotnet) is:  float floatvalue = 2.1F 
recieved value(java) is value is: 1.757237E-26 

is this a bug or i make some mistake in my test? 

follow is my test code: 

            float value= 2.12F; 
            Uri uri = new Uri("tcp://" + ip + ":61616?jms.useAsyncSend=true"); 
            factory = new ConnectionFactory(uri); 
            using (IConnection connection = factory.CreateConnection()) 
                ISession session = connection.CreateSession(acknowledgementMode); 

                IDestination destination = session.GetQueue(queueName); 

                IMessageProducer producer = session.CreateProducer(destination); 
                producer.Persistent = true; 

                // lets send a message 
                String text = "text"; 
                ITextMessage request = session.CreateTextMessage(text); 
                request.NMSPersistent = true; 
                request.NMSCorrelationID = "abc"; 
                request.Properties["custom8"] = custom8; 



public void onMessage(Message message) { 

could someone do me a favor? 


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message