Monday, May 28, 2012

Test Blogger code formatting


A snippet of Akka-Camel stuff - really just to test code formatting:
  
class Orders extends Actor with Producer with Oneway {
    //todo: untested
    def endpointUri = "spring-amqp:businessX:outgoingQ:outgoingQ?type=direct"  // todo: I've had to manually create the Q - why?
  }

Shame about the scroll bars!
Credit goes to Alex Gorbatchev  http://alexgorbatchev.com/SyntaxHighlighter/manual/demo/ .

But just look at those lucky WordPress users http://bcomposes.wordpress.com/2012/05/12/processing-json-in-scala-with-jerkson/ !!

 NOTE: the above method doesn't appear to work against the delicious new dynamic Blogger templates. That's because you have to manually paste stuff within the page template header - here are detailed instructions for setting up Blogger with SyntaxHighlighter.

No comments: