Author |
Message
|
broker_new |
Posted: Fri Feb 19, 2010 8:32 am Post subject: WMBv6.1-> MQGet Node to browse messages |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
Hi Guys,
I would like to browse for the first message from the queue all the time to get rid of the properties file. I would like to put all the properties in the queue and browse it from there.can we do that? i tried wiring the MQGET node but experiencing the following problem.
HTTPInput>>MQGetNode>> ComputeNode>>HTTPRequestNode>>ComputeNode>>HTTPReplyNode
Exception is
RecoverableException
File /build/S610_P/src/DataFlowEngine/ImbDataFlowNode.cpp
Line 957
Function ImbDataFlowNode::createExceptionList
Type ComIbmMQGetNode
Name MQGet_MsgFlow#FCMComposite_1_4
Label MQGet_MsgFlow.TEST_A02_ERROR
Catalog BIPv610
Severity 3
Number 2230
Text Node throwing exception
RecoverableException
File /build/S610_P/src/DataFlowEngine/ImbMqGetNode.cpp
Line 1626
Function ImbMqGetNode::failureProcess
Type
Name
Label
Catalog BIPv610
Severity 3
Number 4633
Text MQGet node Exception
RecoverableException
File /build/S610_P/src/DataFlowEngine/ImbParser.cpp
Line 2386
Function ImbSyntaxElement::copy
Type
Name
Label
Catalog BIPv610
Severity 2
Number 2335
Text User attempted a recursive copy
Insert
Type 15
Text 1125d5820
Insert
Type 5
Text (0x01000000:Name):Root
Insert
Type 15
Text 1125d5820
Insert
Type 5
Text (0x01000000:Name):Root _________________ IBM ->Let's build a smarter planet
Last edited by broker_new on Fri Feb 19, 2010 8:35 am; edited 1 time in total |
|
Back to top |
|
 |
broker_new |
Posted: Fri Feb 19, 2010 8:34 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
MQGet Node properties:
Advanced Section:
Transaction : No
Request Section:
Browse Only: Checked _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 19, 2010 8:47 am Post subject: Re: WMBv6.1-> MQGet Node to browse messages |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
broker_new wrote: |
I would like to put all the properties in the queue and browse it from there.can we do that? |
You can, but it's a seriously bad idea. If you've got properties expose them to the flow using UDP; use the facilties provided rather than trying to bend the software to your needs. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Fri Feb 19, 2010 8:59 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Out of interest - why is it such a bad idea? Not much different from using a registry service.
Might be faster to use shared variables which are refreshed periodically (or when initialised) from the queue. |
|
Back to top |
|
 |
broker_new |
Posted: Fri Feb 19, 2010 10:51 am Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
My idea was to browse the message for the first time and save them in Shared Variables and when the parameters need to be changes then i can refresh the execution group to browse the message again.
But in my flow i am not able to browse the message i am experiencing the problem "User attempted a recursive copy" _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 19, 2010 12:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
broker_new wrote: |
My idea was to browse the message for the first time and save them in Shared Variables and when the parameters need to be changes then i can refresh the execution group to browse the message again. |
If you're going to "refresh" the execution group, then why not "refresh" the execution group by applying new UDP? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
broker_new |
Posted: Fri Feb 19, 2010 12:15 pm Post subject: |
|
|
 Yatiri
Joined: 30 Nov 2006 Posts: 614 Location: Washington DC
|
only one reason we don't like deploying the code every time. _________________ IBM ->Let's build a smarter planet |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 19, 2010 12:20 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
broker_new wrote: |
only one reason we don't like deploying the code every time. |
If it's the same bar file (and it should be because the bar file should be safely backed up in case of emergency) what's the problem?
So how were you intending to "refresh" the execution group? And I repeat my question in your near-duplicate thread - how often is it likely these values will change? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|