MQ Connector is getting stopped after reading messages-

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Aquilis
Participant
Posts: 204
Joined: Thu Apr 05, 2007 4:54 am
Location: Bangalore
Contact:

MQ Connector is getting stopped after reading messages-

Post by Aquilis »

Hi.
I am expecting MQ Connector to keep on subscribing messages continously, without getting stopped. However even messages are not found in Queue still it should be expecting to be running(,which is not happening right now).

I've below Setup -

Code: Select all

Wait time : -1
Message quantity: 1
End of wave       : $CC_DEPRECATED_TRANS_PROP
Transport type    :  TCP
Channel              :  SSL Enabled Communication Channel
Message Read Mode :  Delete
Have implemented the same functionality in DS7.5 with MQ Plugins but not able to achieve same on MQ Connector Stage.

Anything I missed to put in/while setup, please share...
Aquilis
kwwilliams
Participant
Posts: 437
Joined: Fri Oct 21, 2005 10:00 pm

Re: MQ Connector is getting stopped after reading messages-

Post by kwwilliams »

I don't have it in front of me so I can't remember the name of the field, but there is a field that specifies a message type in which the job is to shut down. It is used to gracefully end jobs running on the queue. Is it possible that you have more properties set other than the ones posted in your email? I think it is something like "end of data message type"
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

There is some bug in DS V8.1 MQ connector stage.

I am not sure about patch name.


Do you want to run this job after consumed messages from MQ?


Is this correct?


Thanks
Man
kwwilliams
Participant
Posts: 437
Joined: Fri Oct 21, 2005 10:00 pm

Post by kwwilliams »

Man,

This is a setting within the MQ connector stage that is reading the data. End of Data Message Type (or something similar). If this message type is set and the message type is in the queue the job will shut down. Which seems to be the description of your problem.
Aquilis
Participant
Posts: 204
Joined: Thu Apr 05, 2007 4:54 am
Location: Bangalore
Contact:

Post by Aquilis »

Am just using - "$CC_DEPRECATED_TRANS_PROP " environmental variable to override the "End of wave". If I won't set it up, same thing is happening.

Setting for this should be "Wait time : -1 ", have done this already.

Man,

Yes, after consuming the message from MQ also, my job should be continously running.
Aquilis
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Check your settings...in your first post, you say you have message quantity set to "1". That means read one message and then quit. That one also has to be a -1 if you want it to keep reading. It's a debugging and testing feature. When I build new jobs I ALWAYS set the timeout to something like 30 and the messages to 10....and then set them to be always on only after I have fully tested the "stop message type" that is being described above.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

Correct .

I hope you have to setup Message quantity: 99999 instead of 1.

Since you mentioned here just 1 so after 1 message the MQ will disconnected.


Thanks
Man
Aquilis
Participant
Posts: 204
Joined: Thu Apr 05, 2007 4:54 am
Location: Bangalore
Contact:

Post by Aquilis »

Message type & Message quantity should be set to 1 while wiat time is -1.

Previously I've omitted Message type, after setting this, it's working.
Aquilis
Post Reply