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 » Used Defined HttpInputNode

Post new topic  Reply to topic
 Used Defined HttpInputNode « View previous topic :: View next topic » 
Author Message
poosarla
PostPosted: Fri Jun 10, 2016 2:40 am    Post subject: Used Defined HttpInputNode Reply with quote

Newbie

Joined: 28 Apr 2016
Posts: 4

Hi ALL,

I am Implementing User defined HttpInput Node in IIB. We are fine with User defined node working but the node should work as HttpInputnode. Can any one Suggest me to implement the feature for HttpInput User defined node.


thanks
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Jun 10, 2016 4:50 am    Post subject: Reply with quote

Grand High Poobah

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

a) Why not use the supplied HTTPInput node? Why create your own?

b) As far as I know (and I've not needed to use anything other than an IBM supplied input node in my entire career), a user defined input node needs to handle all of the capabilities within the user code; it's intended (from a design perspective) to allow the use of protocols the standard input nodes don't support. So to create your own http input node you need to code up an http listener with all the baggage to support connection timeout, port conflict, SSL and so forth. I don't think (and am prepared to be corrected on this) that you can get into the IBM supplied listeners and SSL structures.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 10, 2016 4:53 am    Post subject: Reply with quote

Grand High Poobah

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

Caveat:

I know the underlying structure of nodes is changing in IIBv10 and beyond, so things may change and may already have done so.

Like I said, I've never needed a user defined input node and have had need of a user defined node half a dozen times in the last 14 years. Much better to use the supplied IBM functionality.

If you absolutely, positively must use a user defined node then I'd be inclined to use a n HTTPInput node and have the user defined node as the second node in the flow to it's right.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
stoney
PostPosted: Fri Jun 10, 2016 5:54 am    Post subject: Reply with quote

Centurion

Joined: 03 Apr 2013
Posts: 140

You can create a user defined node that is implemented as a subflow, and add an HTTPInput node to that subflow (along with any other nodes you want).
You can also just put an input node in any subflow and it will "act" like a user defined node, except you're dragging a subflow from the navigator rather than a node from the palette.
You cannot just "extend" the HTTPInput node functionality by subclassing it.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 10, 2016 6:27 am    Post subject: Reply with quote

Grand High Poobah

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

stoney wrote:
You can create a user defined node that is implemented as a subflow, and add an HTTPInput node to that subflow (along with any other nodes you want).


I took "user defined node' to mean "node containing C user code" not "packaged subflow".

Using the second definition I accept your solution, which ties back to my "why not use the IBM HTTPInput node" comment.
_________________
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 » Used Defined HttpInputNode
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.