The node compiles and i can set the attribute with connectAttr.
However i can not use the arrow left of the attribute in the attribute editor to follow the connection.
If viewing Hierarchy for the node the connection is visible so it exists between the objects.
I use :
connectAttr inputObject.message node.input
to connect them.
EDIT: Can lock this thread. I figured it out.