messagebroker

How and where i can use message store and message processor in ESB?

廉价感情. 提交于 2019-12-12 06:09:20
问题 I have used two instances of WSO2 ESB 4.6 at port number 9443(esb1) and 9446(esb2) and also using Message Broker 2.0.1 at 9444. I am using this url to perform my task :http://wso2.org/library/articles/2013/03/configuring-wso2-esb-wso2-message-broker. I have done the Queue to queue send recieve example using the above link. And everything is working fine. But the problem is when i post any message to esb1, it gets reflected to esb2 since esb2 is working as my subscriber. I want that message

LASTMOVE loop is not working

别等时光非礼了梦想. 提交于 2019-12-11 19:19:29
问题 my xml looks like - <ItemMaster> - <ItemMasterHeader> + <ItemID> + <ItemStatus> + <UserArea> - <Classification Type="HOMOLOGATION CLASS"> - <Codes> <Code>E</Code> </Codes> </Classification> + <Classification Type="LP"> + <Classification> - <Classification Type="BRAND"> - <Codes> <Code>002</Code> </Codes> </Classification> Yhe full xml is here http://www.speedyshare.com/MgCCA/download/ItemMaster-2.xml I need to fetch the value of Classification with attribute TYPE= "BRAND" but with below code,

Regarding the MQTT fixed header structure?

回眸只為那壹抹淺笑 提交于 2019-12-11 07:44:41
问题 i am trying to implement a MQTT library. And according to a tutorial, the fixed header of the MQTT message should look like as shown in the posted picture. Also in the same tutorial, i found that the encodeing method of the fixed header is written as: mqtt.write((byte) ((retain ? 1 : 0) | qos << 1 | (dup ? 1 : 0) << 3 | type << 4)); My Question is, according to the fixed header specifications posted, the fields retain , qos , dup and the msg type should have 1 , 2 , 1 and 4 bits respectively.

Make sure the broker holds messages until at least one consumer gets it

大兔子大兔子 提交于 2019-12-11 02:57:56
问题 I am begining to implement an ActiveMQ based messaging service to send worker tasks to various servers, however I am noticing that in the default mode, if no one is "listening" to a producer's topic, any message from that producer will be lost. I.e., If Producer Senders Message with a live broker But No Consumer is there to listen Message goes no where I would like instead for the Broker to hold on to messages until at least one listener receives it. I am trying a couple ways of implementing

ESQL for splitting a string into mulitple values

て烟熏妆下的殇ゞ 提交于 2019-12-11 02:38:12
问题 Following Input xml field needs to be substringed for 6 characters and each 6 characters should be splitted and saved in the option field of output. Input: <feature>124414500045563879</feature> output: <option>124414</option> <option>500045</option> <option>563879</option> Is there any tokenizer function available in IIB ESQL to achieve the above result. 回答1: As far as I know, no there isn't a String Tokenizer function in ESQL. But you could use the following procedure as base to achieve your

Is my RabbitMQ cluster Active Active or Active Passive?

一笑奈何 提交于 2019-12-10 11:37:30
问题 I have created a cluster consists of three RabbitMQ nodes using join_cluster command. i.e. rabbitmqctl –n rabbit2@MYPC1 join_cluster rabbit2@MYPC1 (currently the cluster runs on a single computer) Questions: In the documents it says there is one implemetation for active passive and one for active active. What did I configure? How do I know? How can it be changed? Is there a big performance trade off between Active Active & Active Passive? What is the best practice to interact with active

ActiveMQ to Apollo transition, Openwire to Stomp protocol configuration

折月煮酒 提交于 2019-12-10 10:47:55
问题 I'm trying to switch from ActiveMQ 5.6 to Apollo 1.5. I have two soft that are exchanging messages, using publish/subscribe on topics. The first one is c++ and use openwire with tcp The second one is Javascript and use stomp with websockets With ActiveMQ everything worked fine, and the messages I sent could be read and write on both softs, and I didn't changed the clients since. Now, I send messages from the c++ soft (using openwire), and try to read them with the JS soft, and I get errors.

The callBacklistener is called Twice?

北城余情 提交于 2019-12-08 16:29:38
In the below, when i run it and intentionally turn the WiFi off, the callBack clientCallBack.connectionLost displays the message Log.d(TAG, "@connectionLost: MQTT Server connection lost"); twice. And When I re connect, the message Log.i(TAG, "@onSuccess: Connection Successful."); in the client_1.connect callback is displayed only once. anyone can expain why i receive the message from the calback twice? Code @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.mqtt_proj_01_layout); sdCard = Environment

PUB/SUB+PUSH/PULL Messaging Broker - How to improve latency and performance?

末鹿安然 提交于 2019-12-08 12:25:31
问题 I have implemented this ZMQ Client-Server architecture with the order to one message from Sender client, this message arrives at other clients Receiver 1, Receiver 2 and Receiver 3. This means that the all receivers can see the same data from Sender In this architecture, I have python clients and c++ clients. The server is coded with Python using pyzmq binding. The question is: Why on my python clients the message appears faster than on my c++ clients? Is this related to the fact that the

The callBacklistener is called Twice?

风流意气都作罢 提交于 2019-12-08 03:15:58
问题 In the below, when i run it and intentionally turn the WiFi off, the callBack clientCallBack.connectionLost displays the message Log.d(TAG, "@connectionLost: MQTT Server connection lost"); twice. And When I re connect, the message Log.i(TAG, "@onSuccess: Connection Successful."); in the client_1.connect callback is displayed only once. anyone can expain why i receive the message from the calback twice? Code @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate