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 » Help in Message Set Properties

Post new topic  Reply to topic
 Help in Message Set Properties « View previous topic :: View next topic » 
Author Message
sachinramesh
PostPosted: Mon Jul 21, 2008 10:53 pm    Post subject: Help in Message Set Properties Reply with quote

Disciple

Joined: 20 Feb 2007
Posts: 170

Hi All
My scenario is
I had an input(tds format)message in which 1 record has 10 fields.there are many records which are coming with those fields .Now i had to check for a special characters(^ and %),if this characters is present in any one of the field i had to reject all the records .

For this do i have any properties which i can set in the Message definition file .
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Jul 22, 2008 1:32 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You need to
- switch on validation in your message flow
- put a Value Constraint on the string simple type. It should be of type 'Pattern'. The pattern should be something like this :
Code:
[^%\^]*
Back to top
View user's profile Send private message
sachinramesh
PostPosted: Tue Jul 22, 2008 1:59 am    Post subject: Reply with quote

Disciple

Joined: 20 Feb 2007
Posts: 170

kimbert wrote:
You need to
- switch on validation in your message flow
- put a Value Constraint on the string simple type. It should be of type 'Pattern'. The pattern should be something like this :
Code:
[^%\^]*


Is it possible in MB 5.0 ,bcos i dont see the filed "include all value constraints" highlighted in validation properties.
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Jul 22, 2008 2:53 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Yes, it is possible in v5.
You add Value Constraints in the Logical Properties section of the simple type properties.
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 » Help in Message Set Properties
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.