Author |
Message
|
anhnt |
Posted: Thu May 04, 2006 6:42 pm Post subject: create message in WebSphere message broker |
|
|
Acolyte
Joined: 03 Aug 2003 Posts: 54
|
Hi all,
My problem is:
When I put a message on input node.Then I save content of message into database.after a period of time(example 3 day).I query data from database and recreate the message and put message on output node.
My question is:any way to recreate message and put message on output node?
anhnt |
|
Back to top |
|
 |
sirsi |
Posted: Thu May 04, 2006 7:10 pm Post subject: |
|
|
Disciple
Joined: 11 Mar 2005 Posts: 177
|
|
Back to top |
|
 |
anhnt |
Posted: Thu May 04, 2006 8:20 pm Post subject: |
|
|
Acolyte
Joined: 03 Aug 2003 Posts: 54
|
Hi sirsi,
Thanks for your reply.
But I thinks It isn't suitable for my problem.
My problem is:
In Websphere Message Broker.Can I construct a message from datum in database and put it on output node?
note that in this sceranio there isn't any input message from input node.
thanks a lot
anhnt |
|
Back to top |
|
 |
elvis_gn |
Posted: Thu May 04, 2006 8:31 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi anhnt,
Is this a requirement in your project or something ? If its only for testing purposes then there is no direct way, if you r trying to solve a design requirement then:
Run a Timer flow - interval triggerred(3 days) and pick the data from the database and put it into the input queue which runs the other flow.
Regards. |
|
Back to top |
|
 |
anhnt |
Posted: Fri May 05, 2006 12:14 am Post subject: |
|
|
Acolyte
Joined: 03 Aug 2003 Posts: 54
|
Hi elvis_gn,
This is a requirement in my project. folow of message is following:
node1(source) send a message to the Data Center(middle node)
middle node send that message to node2(destination node).then it save content of message into database.
for any reasons.Node2 require Middle node(not from node1) resend that message which is queried from database.
Any way to put message from middle node to node2.
in that:node1,middle node,node2 use websphere message broker v6.0,Websphere MQ v 6.0.
I can code a put application in websphere MQ to resolve it.But I want to use any put function in message broker or any node in message broker to resolve it.
any way to resolve?
thanhs a lot
anhnt |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri May 05, 2006 12:53 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi anhnt,
I'm sorry, but i am lost in your Data Center, middle node atc....
What I uderstood is:
1. You have an input node Node1.
2. It sends message to a compute say Compute1, it picks data from database and sends it to Node2(an output queue).
Now u want to sometimes, fetch data directly from database and have it sent to Node2...and for this you cannot expect the Node1 to start the flow...am i right ?
My Question will be: when do u want to pick the data...is there a condition on which you have to pick data ?
Regards. |
|
Back to top |
|
 |
anhnt |
Posted: Fri May 05, 2006 1:25 am Post subject: |
|
|
Acolyte
Joined: 03 Aug 2003 Posts: 54
|
Hi elvis_gn,
no,node1 is a machine(win2k,message boroker v6.0,MQ v 6.0)
middle node and node2 is the same.
for resons of missing data on node2.End-user at node2 call data center to resend message which contain data missed.So data center will pick data from database to recreate the message.but I don't know any way to recreate message and put it on output node(base on remote queue of node2 wich define on middle node).
My resolve is use a websphere MQ application(not in Websphere Message Broker) to pick data from database.then create message to put on remote queue of node2.But I want to put message in Websphere message broker.
any else to resolve it?
thanks a lot
anhnt |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri May 05, 2006 2:07 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi anhnt,
Is this Data center ur database which ur talking about ?
The system (Node1), it sends data to the data center or ur flow ?? How is it sending messages...over a Queue....
so if you have a queue used to run the flow, then make ur Node 2 put messages on this queue itself...
Regards. |
|
Back to top |
|
 |
sirsi |
Posted: Fri May 05, 2006 6:38 am Post subject: |
|
|
Disciple
Joined: 11 Mar 2005 Posts: 177
|
quite confusing... please explain your flow structure end to end... and please use different terminology for node( WBIMB nodes) and machine. |
|
Back to top |
|
 |
|