Author |
Message
|
sumeetkoshal |
Posted: Thu Jun 01, 2006 4:57 pm Post subject: Data length a problem |
|
|
Novice
Joined: 22 May 2006 Posts: 10
|
Hi,
I am using WriteUTF function to write messages on the queue.
My problem is it puts some invalid characters in the begining & end of the message. When I am using WriteString method it puts invalid characters at the end of every above aprrox 2000 characters.
Please suggest me the solution for this.
Thanks
Sumeet |
|
Back to top |
|
 |
EddieA |
Posted: Fri Jun 02, 2006 6:53 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
The "invalid" characters at the start of the message with writeUTF() is the length, which is normal.
The invalid characters at the end of the message is a problem with your application.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
sumeetkoshal |
Posted: Sun Jun 04, 2006 4:42 pm Post subject: data length problem |
|
|
Novice
Joined: 22 May 2006 Posts: 10
|
Can anybody give me a solution on this ?
Sumeet |
|
Back to top |
|
 |
EddieA |
Posted: Sun Jun 04, 2006 4:58 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
PM from OP:
Quote: |
I aprreciated if you have given me the solution instead saying that invalid charachters in the begining is normal. |
Reply, via PM:
Quote: |
Three things.
I answered with what I could, based on the limited information you provided.
I am quite happy to work with you on this, provided you are prepared to pay my consulting fees, in advance.
Lastly, this is a PUBLIC forum. Do NOT PM members asking your questions.
Oh, and maybe one more. Try posting exactly the same text you sent to me on the public forum and see what results you get. |
Reply:
I rest my case, m'lord.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
sumeetkoshal |
Posted: Sun Jun 04, 2006 5:04 pm Post subject: data length problem |
|
|
Novice
Joined: 22 May 2006 Posts: 10
|
You know what instead of clicking on the PostReply button I clicked on PM.
But I think that shouldn't bother you too much as I asked you just a simple answer to my simple question. If you know the answer, probably you could have replied to that, instead of asking for the money.
I think members here are not for money... they are here to help each other.
Thanks
Sumeet |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jun 04, 2006 5:55 pm Post subject: Re: data length problem |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sumeetkoshal wrote: |
You know what instead of clicking on the PostReply button I clicked on PM.
But I think that shouldn't bother you too much as I asked you just a simple answer to my simple question. If you know the answer, probably you could have replied to that, instead of asking for the money.
I think members here are not for money... they are here to help each other.
Thanks
Sumeet |
Well let's look at this. Did you do your own research and try to find out WHY EddieA said that the "invalid chars" at the beginning were normal?
Did you go back to the manuals and read up on the section explaining this part and the API?
We may help but we will not spoon feed you!
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sumeetkoshal |
Posted: Sun Jun 04, 2006 6:07 pm Post subject: |
|
|
Novice
Joined: 22 May 2006 Posts: 10
|
Thanks for such a wonderfull reply, But you know what, If I would have got those manuals which you are talking about, probably I would never had posted my query on any forums. But since I dont have that... I left with no other option...
Well Thanks to all of you for being so kind & not answering my simple question.
Thanks
Sumeet |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Jun 04, 2006 8:07 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
We *did* answer your simple question.
It's not our fault you chose not to learn what UTF means and how a UTF string is defined.
It's also not our fault you are unable to use simple tools like the "search" button and Google.
I hope your boss doesn't mind that you have to beg other people to teach you how to do your job. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sumeetkoshal |
Posted: Sun Jun 04, 2006 8:10 pm Post subject: data length problem |
|
|
Novice
Joined: 22 May 2006 Posts: 10
|
Hi Guys,
Let me tell you that I have got the solution to my problem.
But I should tell you guys one thing...
"[b]You guys are Sick[/b]"
Sumeet |
|
Back to top |
|
 |
tleichen |
Posted: Mon Jun 05, 2006 7:51 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
And to think that this is what industry wants to hire instead of those of us with an education! It's really sad...  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 05, 2006 7:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
tleichen wrote: |
And to think that this is what industry wants to hire instead of those of us with an education! It's really sad...  |
I guess sumeet isn't the only one who doesn't know that you get what you pay for. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Jun 05, 2006 8:26 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
According to my 18 year old son "sick" means "wonderful" these days.  |
|
Back to top |
|
 |
EddieA |
Posted: Mon Jun 05, 2006 9:41 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
I think not in this context.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
JT |
Posted: Mon Jun 05, 2006 11:38 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Quote: |
Let me tell you that I have got the solution to my problem. |
So, these guys got you so riled up that you went off on your own and discovered the answer.
Hmmm, seems to me they did you a service by making you self-sufficient. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Jun 05, 2006 12:36 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
I think members here are not for money... they are here to help each other. |
combined with....
Quote: |
Let me tell you that I have got the solution to my problem.
|
Great news! I look forward to you posting the solution for the benefit of others.  |
|
Back to top |
|
 |
|