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 » All messages coming on a queue should be written to a file

Post new topic  Reply to topic
 All messages coming on a queue should be written to a file « View previous topic :: View next topic » 
Author Message
varun.gubba
PostPosted: Mon Nov 04, 2013 8:57 am    Post subject: All messages coming on a queue should be written to a file Reply with quote

Newbie

Joined: 16 Sep 2013
Posts: 4

Hi guys am a Newbie to Message broker
I got a requirement where i get messages on a queue which are in Flat file format,
now i should write these messages to a file unntill 5pm on that day and after that o another file.

Can you guys give me any idea how to start and proceed?

Thanks!!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 04, 2013 9:11 am    Post subject: Re: All messages coming on a queue should be written to a fi Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

varun.gubba wrote:
Can you guys give me any idea how to start and proceed?


Push back on this idiot requirement?

Develop a mechanism to cause your flow to switch to a new file (presumably with a different name) at 5pm?

Other solutions are undoubtably possible, but I like that first one.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
varun.gubba
PostPosted: Mon Nov 04, 2013 10:01 am    Post subject: Reply with quote

Newbie

Joined: 16 Sep 2013
Posts: 4

Hi Vitor sorry but i didnt understand what you said
Can you please explain me?

Thanks,
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 04, 2013 10:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

varun.gubba wrote:
Can you please explain me?


Certainly.

This is a very silly idea, and you should tell that to the person who gave you the task so he tells you that you don't have to do it.

If compelled to do it even though it's silly, you should develop a way of switching the file in use at 5pm.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
varun.gubba
PostPosted: Mon Nov 04, 2013 10:21 am    Post subject: Reply with quote

Newbie

Joined: 16 Sep 2013
Posts: 4

Okay...
Can you please tell me how to write to a file when a message is dropped into an Input queue.

Thanks,
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Nov 04, 2013 10:33 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.

Have you looked at the samples?

What nodes deal with Files?
_________________
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
Vitor
PostPosted: Mon Nov 04, 2013 11:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

varun.gubba wrote:
Can you please tell me how to write to a file when a message is dropped into an Input queue.


With a flow.

Seriously, that's a "how do I use WMB" question. There are a number of steps, including but not limited to handling the file formats.

Consider what you'd need to do to perform this task with Java or C++. Use the same process with WMB.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » All messages coming on a queue should be written to a file
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.