How to publish an out of tree uorb message

Hi everyone,
I have a question regarding the publication of a new out of tree uorb msg.
I created successfully the message as indicated in the documentation, and I was also able to build it successfully by setting the right EXTERNAL_MODULES_LOCATION. However, I am not able to see the topic neither in ls /obj or with uorb top.
For instance, if I run listener topic_name in the shell, it prompts out “never published”, even if I am running the application in which I am publishing this message. The following code snippet shows how did I publish this new topic in my app
topic_name_s topicc{};
memset(&topicc, 0, sizeof(topicc));
orb_advert_t topic_name_pub = orb_advertise(ORB_ID(topic_name), &topicc);
topicc.field1 = value1;
topicc.field2 = value2;
orb_publish(ORB_ID(topic_name), topic_name_pub, &topicc);