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 Interchange Server + Adapters » Jtext Adapter Event [folder] text files

Post new topic  Reply to topic
 Jtext Adapter Event [folder] text files « View previous topic :: View next topic » 
Author Message
ROX
PostPosted: Wed Oct 26, 2005 11:27 pm    Post subject: Jtext Adapter Event [folder] text files Reply with quote

Newbie

Joined: 11 May 2005
Posts: 7

Hi there guys,

I have configured a Jtext Adapter to include 3 business objects [my custom developed one - which have only 2 fields and 2 default ones from the jar file: MO_JtextConnector_Default.jar]

when i send a message using the Visual Tester to MQ - my message is send successfully - but i don't know what to put in the test file which is to be dumped in the Event folder to be processed by the adapter ... can someone please assist me on constructing this test file e.g. myTest.in

- thanx guys
Back to top
View user's profile Send private message
vk
PostPosted: Thu Oct 27, 2005 4:15 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

What data handler are you using?

If it is a Fixed Width data handler, you can just put a file in the Event Directory, say Test.in having a line corresponding to the BO. For Eg: If the BO has 2 attributes Name and DOB, then put the file having the line -
Name 01-01-2005

Take care of the length defined for the attributes.

If you are using a name value data handler, you need to make an entry as shown below in the file -

Business Object = Employee
Verb = Create
AttributeCount = 3
Name = ABC
DOB = 01-01-2005
ObjectEventID = 1234567890
<EndBO: Employee>

By default, the data handler is name value. So you can try the 2nd option.

Regards,
VK.
Back to top
View user's profile Send private message
ROX
PostPosted: Fri Oct 28, 2005 12:50 am    Post subject: Reply with quote

Newbie

Joined: 11 May 2005
Posts: 7

Thanx vk,

id did a bit of reading on nave value data handler - and my test file parsed successfully.

thanx very much
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 Interchange Server + Adapters » Jtext Adapter Event [folder] text files
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.