Search code examples
testingjmstibcotibco-business-workstibco-designer

Testing JMS Topic Subscriber in Tibco


I would like to test a process in Tibco Designer, that starts with a JMS Topic Subscriber. I would invoke that process and then call a JMS Topic Publisher. The problem is that the Call Process activity cannot invoke a process that starts with a JMS Topic Subscriber.

Is there something similar for what I want to achieve?

I know it's possible to load and start two different processes, but I was looking for a more automated solution. So that if I start one process, this will take care and start everything else.


Solution

  • So, if you want to test a Process "Starter" (JMS Topic subscriber), you need to create test process with push a message in the topic.

    For example, my main process is JMS Topic Subscriber process stater, indeed, as you mentioned, this process cannot be called as a sub-process because it's a process starter. I'm listening on TOPIC_TEST

    enter image description here

    Then, if you want to test this process, you can create a test process which push a message in the topic TOPIC_TEST

    enter image description here

    Now you can run Test_MyProcess for testing MyProcess