ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message going to the Dead Letter Queue

Post new topic  Reply to topic
 Message going to the Dead Letter Queue « View previous topic :: View next topic » 
Author Message
LH33
PostPosted: Tue Aug 15, 2006 4:54 am    Post subject: Message going to the Dead Letter Queue Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

Hi,

The following line of an XML transaction causes the message to go to the Dead Letter Queue as soon as it hits the input queue of a broker flow:

<TestTag>Testing</TestTag>

The two characters in front of the word Testing are the keyboard sequence "Ctrl V".

When I remove the two characters, the transaction works fine. These characters are put there when a system user is copying information into a free form field which then is used as the contents of the XML tag.

Is there any way to handle these characters in the broker so that the message does not immediately go to the Dead Letter queue upon hitting the input queue?

Thanks for any help!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 15, 2006 5:05 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Read the message as BLOB, parse out the bad characters manually, and then reparse as XML.

Or fix the webapp so that the form doesn't allow bad characters!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
LH33
PostPosted: Tue Aug 15, 2006 5:11 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

The characters display as spaces on the input app. It gets there when a user is copying and pasting using Ctrl C and then Ctrl V. How would I parse those particular characters out manually. What would I look for?

Thanks!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 15, 2006 5:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You'd have to look for byte values.

You really want to fix the webapp instead. It's not producing valid XML - ergo it's not meeting the contract between itself and your message flow.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 15, 2006 5:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

LH33 wrote:
. What would I look for?


Hex values that form characters outside the XML specification?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
LH33
PostPosted: Tue Aug 15, 2006 5:26 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

Thanks for the information!! Just trying to now see how I can fix the app not to allow those characters when a user is copying and pasting and doesn't have anything on the clipboard at the time they hit the Ctrl V which is what is causing the weird characters.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message going to the Dead Letter Queue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.