manirathnamgowd / soi-toolkit

Automatically exported from code.google.com/p/soi-toolkit
0 stars 0 forks source link

Add support for bytes messages in the MS .Net NMS api #310

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When moving text files over ActiveMQ you don't want to handle encoding et. al. 
to be sure that the String i a TextMessages is handled correctly (from an 
encoding perspective). Instead sending the content of the text files as pure 
bytes messages seems to be much simpler. 

Added to that this opens up for handling non-text based files as well, at least 
up to some upper size. At some size StreamMessage seems to be appropriate even 
though a more involved api.

Original issue reported on code.google.com by magnus.l...@gmail.com on 5 Nov 2012 at 11:54

GoogleCodeExporter commented 9 years ago
Updated by revision r1848.

Initial support for BytesMessage and a test that proves that. More work is
required however...

Original comment by magnus.l...@gmail.com on 5 Nov 2012 at 11:59