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 » General IBM MQ Support » JText: Loading plain, untagged text into an MQ queue

Post new topic  Reply to topic
 JText: Loading plain, untagged text into an MQ queue « View previous topic :: View next topic » 
Author Message
migerrits
PostPosted: Mon Apr 25, 2005 10:23 am    Post subject: JText: Loading plain, untagged text into an MQ queue Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

I have been successful in setting up JText to read in data files with tagged fields, but can't find a way to get it to read untagged data.

The data in question is delimited by "|" and CR/LF. However, I want it to be dumped directly onto the queue without any formatting or conversion.

Is this even possible, or does JText always need tagged information?

-mike "frustrated"
Back to top
View user's profile Send private message
migerrits
PostPosted: Mon Apr 25, 2005 11:16 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

I've been reading...

Could I possibly set JText up to read "binary" files?

I've just stumbled on this idea and am hoping that it can be used to simply put a file into an MQ message.

-mike "my head hurts"
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 25, 2005 11:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You might be able to create a BO that contained a single, unbounded binary field.

There may be better options, though.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
migerrits
PostPosted: Mon Apr 25, 2005 11:20 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

jefflowrey wrote:
You might be able to create a BO that contained a single, unbounded binary field.

There's an idea! I'm determined to make this thing work... Somehow.
Back to top
View user's profile Send private message
migerrits
PostPosted: Tue Apr 26, 2005 4:10 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

No luck!

Someone tell me: Can JText simply put the contents of a file on a queue, without having to process it as data?

-mike
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Apr 26, 2005 6:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

migerrits wrote:

Someone tell me: Can JText simply put the contents of a file on a queue, without having to process it as data?


NO
Back to top
View user's profile Send private message Send e-mail Visit poster's website
migerrits
PostPosted: Tue Apr 26, 2005 10:04 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

I was afraid of that.

I found a doc which includes a custom datahandler to convert the incoming data so that WBI:MB can parse it. It looks like it'll do the trick, but we'll see...
Back to top
View user's profile Send private message
migerrits
PostPosted: Thu Apr 28, 2005 6:57 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

I ended up coding my own custom datahandler and added it to the customer datahandler .jar file for JText to use. Works quite nicely. I'll try to post the solution on here so that any other poor beginners don't have such a hard time as I did.

If anyone finds they have to do the same thing, the "IBM WebSphere Business Integration Adapters/IBM WebSphere InterChange Server Data Handler Guide" is very helpful!
Back to top
View user's profile Send private message
vennela
PostPosted: Sat Apr 30, 2005 5:00 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What is your broker that you are using JText adapter with.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
malammik
PostPosted: Sat Apr 30, 2005 7:02 pm    Post subject: Reply with quote

Partisan

Joined: 27 Jan 2005
Posts: 397
Location: Philadelphia, PA

The only way to do this is to write your own data handler.
_________________
Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » JText: Loading plain, untagged text into an MQ 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.