Author |
Message
|
rmerin |
Posted: Fri Aug 27, 2010 2:58 pm Post subject: Loading multiple Messages in a Queue |
|
|
Newbie
Joined: 27 Aug 2010 Posts: 1
|
I am attempting to put a large volume of messages in a queue by text file/ Fixed Format and when I use RFHUtil 6.0 it goes as 1 giant message.
I must be missing something simple here....
- Ron |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Aug 27, 2010 3:21 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
by text file/ Fixed Format |
I suppose you mean that the file contains many logical records, and that you expected each logical record to be written as a single message to the queue.
Are the logical records in the file delimited by CrLf characters? Something else? Did you check the appropriate check-box to indicate CrLf?
Did you read the RFHUTIL documentation? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 27, 2010 3:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
you need to check your message separator and make sure it is there as expected...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Aug 27, 2010 3:58 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
you need to check your message separator and make sure it is there as expected... |
Translation: you need to check the input file to ensure that there are separator strings (CrLf) separating one logical record from the next one.
It appears that either there are no separators in the input file, or you did not specify the separator string to RFHUTIL. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 27, 2010 4:12 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And you need to make sure you have the separator you think you have.
I had a file created with grep (gnuwin32) and the record separator was not quite what I thought it was. Got the whole file as one message instead of about a 100 messages... _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Sat Aug 28, 2010 8:37 am Post subject: Re: Loading multiple Messages in a Queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rmerin wrote: |
I must be missing something simple here....
|
....like using the q utility rather than RFHUtil?
It's a support pac like RFHUtil but you might find it easier for large files. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Sat Aug 28, 2010 11:43 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Whilst RFHUTIL itself may not be ideally suited for this task, it does come with a number of additional apps that may provide some additional value.
When it comes to actually running large numbers of tests, however, I really like the tools that MA0T provides. |
|
Back to top |
|
 |
|