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 » Validation In File Input Node

Post new topic  Reply to topic
 Validation In File Input Node « View previous topic :: View next topic » 
Author Message
anandsitha
PostPosted: Tue Sep 20, 2011 10:14 pm    Post subject: Validation In File Input Node Reply with quote

Acolyte

Joined: 26 Jul 2011
Posts: 59

Hi

My msgflow will be

File Input Node ---->ComputeNode------>File Output Node

I want to read a particular file in the pickup directory file format is (*.txt). In the Pickup directory there are several files with *.txt . But I want to pick up files which is having the content CKS all other files will be present in the same directory. How to do this validation in File Input Node.

Regards
Sithanandam.V
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Sep 20, 2011 11:05 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Possibly with a MessageSet?
you know the section in the Node Properties that deals with parsing and validation?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 21, 2011 2:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
But I want to pick up files which is having the content CKS
What is 'CKS'? Please explain.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Sep 21, 2011 3:37 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

kimbert wrote:
Quote:
But I want to pick up files which is having the content CKS
What is 'CKS'? Please explain.


It is obviously 'Clay Kitten Shooting' http://www.richsalter.btinternet.co.uk/cks2/index.html.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
anandsitha
PostPosted: Mon Sep 26, 2011 10:48 pm    Post subject: Reply with quote

Acolyte

Joined: 26 Jul 2011
Posts: 59

Hi-
I have changed the message set for that particular element

<xsd:pattern value="CKS"/>

Now in my file input node File name pattern is

*.EDI

If I am placing 2 different *.EDI files one is perfectly processing but the other is moving to archieve directory (the file which is not having CKS).

But I dont want the second file should be picked by WMB.

It should be consumed by different application.

Regards
Sithanandam.V
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 27, 2011 2:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

anandsitha wrote:
But I dont want the second file should be picked by WMB.

It should be consumed by different application.


So you want Broker to pick up all files in a given directory that end in .EDI - except for some files that end in .EDI that broker is NOT supposed to pick up.

You can't do that.

You can a) make sure the sending application puts the right files in different places or with different extensions, OR b) have broker read ALL files, and put some in another directory for another program to read, or C) have some other program read ALL files and put SOME files in a directory for broker to read.

You're asking Broker to decide whether or not to read files based on contents, but you want it to do so BEFORE it's read the contents.
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 » Validation In File Input Node
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.