since ‎29-07-2009
‎10-12-2019
endryha
Level 1
Re: RTMP Server Fails
Avatar

endryha

endryha
- Adobe LiveCycle
Is there any way to use rtmp connectivity in cases when I have access to internet only via proxy and only 80 port is avaliable for me?

Views

36

Likes

0

Replies

0
Re: could not find MessageClient for clientId in pushMessageToClients
Avatar

endryha

endryha
- Adobe LiveCycle
OMG. I am laughing on my self. The problem was in absolutely different place... So this code is works as well. You can use it as example...

Views

36

Likes

0

Replies

0
Re: could not find MessageClient for clientId in pushMessageToClients
Avatar

endryha

endryha
- Adobe LiveCycle
Forgot to say. I am able to send message to all clients within following code:public void sendMessageToAllClients(Object msgBody) { log.debug("send message to all clients: " + msgBody); AcknowledgeMessage acknowledgeMessage = MessageBroker.getMessageBroker(null).routeMessageToService(createMessage(msgBody), null); log.debug("result: " + acknowledgeMessage); }In this case all currently subscribed users receiving message.here is method which creates AsyncMessageprivate AsyncMessage createMessage(O...

Views

36

Likes

0

Replies

0
could not find MessageClient for clientId in pushMessageToClients
Avatar

endryha

endryha
- Adobe LiveCycle
Hello everybody. I was stuck with unpleasent problem using LCDS 2.5.1 and theirs messaging service. My aim is sending real time messages to particular client which already subscribed to the defined destination within java code. I have following situation:at first here is my messaging-config.xml: i am already know id of client consumer and pass it like input argument (Set clientIds)actual sending performing in following method: protected void sendMessageToClients(Object msgBody, Set clien...

Views

1.2K

Likes

0

Replies

2
Re: Send message to particular client via messaging
Avatar

endryha

endryha
- Adobe LiveCycle
I have resolved this issue. To send message to client consumer you can use following code public void sendMessageToClient(Object msgBody, Object clientId) { Set clientIds = new TreeSet(); clientIds.add(clientId); sendMessageToClients(msgBody, clientIds); } public void sendMessageToClients(Object msgBody, Set clientIds) { log.debug("send message to clients [ids = " + clientIds + ", message = " + msgBody + "]"); MessageBroker messageBroker = MessageBroker.getMessageBroker(null); Object serviceId =...

Views

33

Likes

0

Replies

0
Re: Send message to particular client via messaging
Avatar

endryha

endryha
- Adobe LiveCycle
I has understood wath's the reason of this exception. It's because i am tryin to send message to client via lcds messaging (consumer/producer) with simple flex client id and in practice ids for consumer is different and i am don't know where i can get this id. I can see it by messageDestination.getSubscriptionManager().getSubscriberIds() code, but i can't get consumer client id of current user. Can anybody help me?

Views

33

Likes

0

Replies

1
Send message to particular client via messaging
Avatar

endryha

endryha
- Adobe LiveCycle
I want to send message to particular user via messaging (consumer/producer).I have following code for this:**********************************************************************public void sendMessageToClient(Object msgBody, String clientId) { MessageBroker.getMessageBroker(null).routeMessageToMessageClient(createMessage(msgBody), getMessageClient(clientId)); } private MessageClient getMessageClient(String clientId) { MessageBroker messageBroker = MessageBroker.getMessageBroker(null); Object ser...

Views

2.1K

Likes

0

Replies

2
Producer/Consumer java client
Avatar

endryha

endryha
- Adobe LiveCycle
Hi all. Have anybody expiriens with lcds consumer tool only on java side. I mean client that perform all consumer/producer operations by means of java. I need it for testing and it very important task for me. Maybe exists any workaround or fully implemented java tool for this. Thanks

Views

1.6K

Likes

0

Replies

1