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 » HttpInput & MQInput

Post new topic  Reply to topic
 HttpInput & MQInput « View previous topic :: View next topic » 
Author Message
tosaurav
PostPosted: Tue Jun 10, 2008 11:00 am    Post subject: HttpInput & MQInput Reply with quote

Acolyte

Joined: 16 Jan 2007
Posts: 62

Message Flow has two inputs HttpInput and MQInput and then request propogate to two terminals.HttpInput request results into exception "Message has no data" because of missing MQMD. If I add and create MQMD domain then Http & MQ inputs works fine but then MQInput has 2 MQMD.Question is How to differentiate the request - It's HTTP or MQ?
I tried following
IF InputRoot.HTTPInputHeader IS NOT NULL THEN
Set and create MQMD

but its not going into that loop.
Back to top
View user's profile Send private message
Gemz
PostPosted: Wed Jun 11, 2008 12:59 am    Post subject: Reply with quote

Centurion

Joined: 14 Jan 2008
Posts: 124

In the if condition check for 'InputLocalEnvironment.Destination.HTTP.RequestIdentifier'. This will set in HTTP request calls and not in MQ.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 11, 2008 1:30 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also notice that MQInput has a separate 'out' terminal than HTTPInput, to which different nodes can be connected.

MQinput--- ---->
HTTPInput->BuildMQMD->


_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gemz
PostPosted: Wed Jun 11, 2008 1:44 am    Post subject: Reply with quote

Centurion

Joined: 14 Jan 2008
Posts: 124

jefflowrey wrote:
Also notice that MQInput has a separate 'out' terminal than HTTPInput, to which different nodes can be connected.

MQinput--- ---->
HTTPInput->BuildMQMD->



Yep, this will be far better and it depends on your flow design.....
Back to top
View user's profile Send private message
nagarjun_vv
PostPosted: Tue Jun 24, 2008 11:15 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Jun 2008
Posts: 33

build mqmd for http input as next sibbling to properties. If you are just creating mqmd it will be problem while copying message headers
Back to top
View user's profile Send private message Send e-mail
WBI_User21
PostPosted: Wed Jun 25, 2008 8:13 pm    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

You can differentiate HTTP and MQ transports in MB by checking the folders

Quote:
HTTP
InputLocalEnvironment.Destination.HTTP.RequestIdentifier <> NULL OR InputLocalEnvironment.Destination.HTTP.RequestIdentifier <> ''

MQ
InputRoot.MQMD.SourceQueue <> NULL OR InputRoot.MQMD.SourceQueue <> ''
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 » HttpInput & MQInput
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.