Author |
Message
|
migerrits |
Posted: Mon Apr 25, 2005 10:23 am Post subject: JText: Loading plain, untagged text into an MQ queue |
|
|
 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 |
|
 |
migerrits |
Posted: Mon Apr 25, 2005 11:16 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Mon Apr 25, 2005 11:17 am Post subject: |
|
|
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 |
|
 |
migerrits |
Posted: Mon Apr 25, 2005 11:20 am Post subject: |
|
|
 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 |
|
 |
migerrits |
Posted: Tue Apr 26, 2005 4:10 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Tue Apr 26, 2005 6:28 am Post subject: |
|
|
 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 |
|
 |
migerrits |
Posted: Tue Apr 26, 2005 10:04 am Post subject: |
|
|
 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 |
|
 |
migerrits |
Posted: Thu Apr 28, 2005 6:57 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Sat Apr 30, 2005 5:00 pm Post subject: |
|
|
 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 |
|
 |
malammik |
Posted: Sat Apr 30, 2005 7:02 pm Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
|
Back to top |
|
 |
|