Author |
Message
|
ksilpras |
Posted: Thu Sep 28, 2006 8:16 pm Post subject: How to put bitstream into a queue? |
|
|
Newbie
Joined: 29 Jul 2006 Posts: 9
|
Hi All,
Anybody have a solution how to put bit stream ( not BLOB ) into a queue?
How to define the message definition to support the bit stream at the output end of the queue?
My actual output message is a text file but I need to convert it into bit stream and put it into a queue.
Thank you very much for your help.
Ken Kirin |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Sep 29, 2006 1:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I suggest you read the Using Java manual and look at the API's. If that doesn't help you get a course in Java...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
colincrist |
Posted: Mon Oct 02, 2006 1:36 pm Post subject: |
|
|
Novice
Joined: 24 Feb 2004 Posts: 22
|
You may be able to reuse something from ActiveMQ called JMS Streams that takes an inputstream and splits it up into chunks and send them over JMS. I don't think its coupled to ActiveMQ in anyway.
http://activemq.org/site/jms-streams.html
[edited: I should add you'll have to pull the code out of ActiveMQ for this to work - its Apache 2.0 so should be licensed okay for you]
Colin.
http://hermesjms.com |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Oct 02, 2006 2:00 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I really don't think that JMSStreams has anything to do with the original question.
Then again, I don't really understand the original question, so I could be entirely mistaken. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mvic |
Posted: Tue Oct 03, 2006 12:45 am Post subject: Re: How to put bitstream into a queue? |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
ksilpras wrote: |
Anybody have a solution how to put bit stream ( not BLOB ) into a queue? |
Please define what you mean by a bit stream. Do you have defined blocks of data you want to send, or just a steady stream of data that never ends? |
|
Back to top |
|
 |
|