Re: regarding custom msg

2015-02-10 Thread Gaurav Agarwal
sorry for the late reply while sending the message i serialize the message and send the same across on topic . the message private static class TestMessage implements Serializable{ private String time; ublic String getTime() { return time; } public void setTime(String time) { this.time = time; }

Re: regarding custom msg

2015-02-09 Thread Manikumar Reddy
Can you post the exception stack-trace? On Mon, Feb 9, 2015 at 2:58 PM, Gaurav Agarwal wrote: > hello > We are sending custom message across producer and consumer. But > getting class cast exception . This is working fine with String > message and string encoder. > But this did not work with cus

regarding custom msg

2015-02-09 Thread Gaurav Agarwal
hello We are sending custom message across producer and consumer. But getting class cast exception . This is working fine with String message and string encoder. But this did not work with custom message , i got class cast exception. I have a message with couple of String attributes