Link to home
Start Free TrialLog in
Avatar of venra
venra

asked on

Sequential message processing with JMS Topics in OSB

Hello Experts,

      I am working on a OSB proxy service that needs to consume messages from weblogic JMS Topics and process them sequentially. I have a service that can run synchronously but I also need to get them done sequentially. your insight would be very much appreciated.

Thanks in advance,
Venra.
Avatar of mccarl
mccarl
Flag of Australia image

I am missing the point. What is your question?

You may be confusing "synchronous" and "sequential" here. Synchronous/asynchronus is just whether the messages are "pulled" by your application from JMS or "pushed" by JMS to your app. "Sequential" just means that the messages are processed one after the other; so if you only have one consumer of the JMS topic, then the messages *have* to be processed sequentially, there is no other way.
Avatar of venra
venra

ASKER

Hi McCarl,

I might have not explained it better. is there a way that we could read JMS messages published time ??. I want  to use it to read them sequentially.

Thanks,
Venra.
SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of venra

ASKER

Thank you for your reply.

We have a OSB Proxy service that is subscribing to a Oracle AQ Topic. The service picks up messages in realtime as messages gets published to the Topic and calls a SOA composite service for further processing of the message.

When this service is deployed in a clustered environment, as you know, multiple instances of this service are running. Any instance can pick up the message from the topic as soon as it is published and invoke the SOA service for processing. Depending on the size of messages, a message picked up later by an instance can finish processing first before a message that was picked up earlier. The difference in time could be seconds but still the sequencing of message processing needs to be maintained through the Fusion Middleware stack.

There is a requirement on specific services in our project where the order of message publication to the Topic should be maintained through the OSB & SOA processing. Is there a way to implement message sequencing in a clustered environment? Are there options to guarantee message sequencing in a clustered environment?

Hope this provides clarity on the question. Appreciate any insights from the experts.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial